>>> libretro-mame2003: Building testing/libretro-mame2003 0_git20220206-r0 (using abuild 3.9.0-r0) started Thu, 21 Apr 2022 09:30:58 +0000 >>> libretro-mame2003: Checking sanity of /home/buildozer/aports/testing/libretro-mame2003/APKBUILD... >>> libretro-mame2003: Analyzing dependencies... >>> libretro-mame2003: Installing for build: build-base (1/1) Installing .makedepends-libretro-mame2003 (20220421.093059) OK: 300 MiB in 99 packages >>> libretro-mame2003: Cleaning up srcdir >>> libretro-mame2003: Cleaning up pkgdir >>> libretro-mame2003: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-mame2003-3eb27d5f161522cf873c0642f14b8e2267b3820f.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libretro-mame2003: Fetching libretro-mame2003-3eb27d5f161522cf873c0642f14b8e2267b3820f.tar.gz::https://github.com/libretro/mame2003-libretro/archive/3eb27d5f161522cf873c0642f14b8e2267b3820f.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 168 100 168 0 0 304 0 --:--:-- --:--:-- --:--:-- 304 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 635k 0 635k 0 0 346k 0 --:--:-- 0:00:01 --:--:-- 618k 100 9408k 0 9408k 0 0 3388k 0 --:--:-- 0:00:02 --:--:-- 4770k 100 13.5M 0 13.5M 0 0 3942k 0 --:--:-- 0:00:03 --:--:-- 5108k >>> libretro-mame2003: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-mame2003-3eb27d5f161522cf873c0642f14b8e2267b3820f.tar.gz >>> libretro-mame2003: Checking sha512sums... libretro-mame2003-3eb27d5f161522cf873c0642f14b8e2267b3820f.tar.gz: OK >>> libretro-mame2003: Unpacking /var/cache/distfiles/edge/libretro-mame2003-3eb27d5f161522cf873c0642f14b8e2267b3820f.tar.gz... Compiling src/mame2003/mame2003.c... Compiling src/mame2003/core_options.c... Compiling src/mame2003/video.c... Compiling src/artwork.c... Compiling src/bootstrap.c... In file included from src/inptport.h:4, from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mame2003/core_options.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/inptport.h:4, from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mame2003/mame2003.c:22: src/memory.h: In function 'cpu_readop16': Compiling src/cheat.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/inptport.h:4, from src/mame2003/mame2003.h:9, from src/mame2003/video.c:4: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/common.c... Compiling src/config.c... In file included from src/driver.h:64, from src/artwork.c:303: src/memory.h: In function 'cpu_readop16': In file included from src/mame2003/video.c:7: src/common.h: At top level: src/common.h:447:55: warning: 'struct GameDriver' declared inside parameter list will not be visible outside of this definition or declaration 447 | const struct RomModule *rom_first_region(const struct GameDriver *drv); | ^~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/controls.c... In file included from src/inptport.h:4, from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/bootstrap.h:13, from src/bootstrap.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/cpuexec.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpuint.c... In file included from src/driver.h:64, from src/cheat.c:374: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/common.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/inptport.h:4, from src/config.h:12, from src/config.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpuintrf.c... Compiling src/datafile.c... src/mame2003/core_options.c: In function 'update_variables': In file included from src/inptport.h:4, from src/controls.h:11, from src/controls.c:13: src/memory.h: In function 'cpu_readop16': src/mame2003/core_options.c:1167:39: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 1167 | options.cpu_clock_scale = (double) atoi(var.value) / 100; | ^ src/mame2003/mame2003.c: In function 'retro_load_game': src/mame2003/mame2003.c:279:20: warning: unused variable 'port_index' [-Wunused-variable] 279 | int port_index; | ^~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/mame2003.c: In function 'convert_analog_scale': src/mame2003/mame2003.c:839:13: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 839 | input = (int)round(scaled); | ^ At top level: src/mame2003/core_options.c:712:47: warning: 'option_def_cyclone_mode' defined but not used [-Wunused-variable] 712 | static struct retro_core_option_v2_definition option_def_cyclone_mode = { | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c: In function 'mame2003_video_reinit': src/mame2003/video.c:239:36: warning: passing argument 2 of 'osd_create_display' from incompatible pointer type [-Wincompatible-pointer-types] 239 | osd_create_display(&old_params, &rgb_components); | ^~~~~~~~~~~~~~~ | | | UINT32 (*)[3] {aka unsigned int (*)[3]} In file included from src/mame2003/video.c:4: src/mame2003/mame2003.h:197:72: note: expected 'UINT32 *' {aka 'unsigned int *'} but argument is of type 'UINT32 (*)[3]' {aka 'unsigned int (*)[3]'} 197 | int osd_create_display(const struct osd_create_params *params, UINT32 *rgb_components); | ~~~~~~~~^~~~~~~~~~~~~~ src/mame2003/video.c: In function 'frame_convert': src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ In file included from src/driver.h:64, from src/cpuint.c:9: src/memory.h: In function 'cpu_readop16': src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:369:10: note: in expansion of macro 'CONVERT' 369 | CONVERT(pix_convert_pass8888, uint32_t, uint32_t); | ^~~~~~~ Compiling src/drawgfx.c... src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ In file included from src/driver.h:64, from src/cpuexec.c:10: src/memory.h: In function 'cpu_readop16': src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:372:10: note: in expansion of macro 'CONVERT' 372 | CONVERT(pix_convert_pass1555, uint16_t, uint16_t); | ^~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ Compiling src/driver.c... src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:375:10: note: in expansion of macro 'CONVERT' 375 | CONVERT(pix_convert_passpal, uint16_t, uint32_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_NOSWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ At top level: src/mame2003/mame2003.c:104:13: warning: 'retro_audio_buff_status_cb' defined but not used [-Wunused-function] 104 | static void retro_audio_buff_status_cb(bool active, unsigned occupancy, bool underrun_likely) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/mame2003.c:56:38: warning: 'empty' defined but not used [-Wunused-variable] 56 | static struct retro_input_descriptor empty[] = { { 0 } }; | ^~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_NOSWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_NOSWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:315:24: warning: cast increases required alignment of target type [-Wcast-align] 315 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/config.c: In function 'config_read_ports': src/mame2003/video.c:316:26: warning: cast increases required alignment of target type [-Wcast-align] 316 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_NOSWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:362:10: note: in expansion of macro 'CONVERT_CHOOSE' 362 | CONVERT_CHOOSE(CONVERT_NOSWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT)\ | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/config.c:325:22: warning: variable 'total' set but not used [-Wunused-but-set-variable] 325 | unsigned int total; | ^~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/config.c: In function 'config_read_coin_and_ticket_counters': src/config.c:434:13: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable] 434 | int coin_counters; | ^~~~~~~~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:350:13: note: in expansion of macro 'CONVERT_SWAP' 350 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:352:13: note: in expansion of macro 'CONVERT_SWAP' 352 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, false, true)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:354:13: note: in expansion of macro 'CONVERT_SWAP' 354 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, false)\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:338:24: warning: cast increases required alignment of target type [-Wcast-align] 338 | TYPE_IN *in = (TYPE_IN*)input;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ src/mame2003/video.c:339:26: warning: cast increases required alignment of target type [-Wcast-align] 339 | TYPE_OUT *out = (TYPE_OUT*)output;\ | ^ src/mame2003/video.c:356:13: note: in expansion of macro 'CONVERT_SWAP' 356 | CONVERT_MACRO(CONVERT_FUNC, TYPE_IN, TYPE_OUT, true, true);\ | ^~~~~~~~~~~~~ src/mame2003/video.c:364:10: note: in expansion of macro 'CONVERT_CHOOSE' 364 | CONVERT_CHOOSE(CONVERT_SWAP, CONVERT_FUNC, TYPE_IN, TYPE_OUT) | ^~~~~~~~~~~~~~ src/mame2003/video.c:378:10: note: in expansion of macro 'CONVERT' 378 | CONVERT(pix_convert_palto565, uint16_t, uint16_t); | ^~~~~~~ Compiling src/fileio.c... Compiling src/harddisk.c... Compiling src/hash.c... In file included from src/driver.h:64, from src/cpuintrf.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/hiscore.c... In file included from src/driver.h:64, from src/datafile.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/artwork.c: In function 'render_ui_overlay': src/artwork.c:1968:13: warning: variable 'width' set but not used [-Wunused-but-set-variable] 1968 | int width, height; | ^~~~~ Compiling src/info.c... In file included from src/driver.h:64, from src/drawgfx.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/driver.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c: In function 'UIPressedRepeatThrottle': src/cheat.c:1448:33: warning: variable 'pressed' set but not used [-Wunused-but-set-variable] 1448 | int pressed = 0; | ^~~~~~~ Compiling src/inptport.c... In file included from src/driver.h:64, from src/harddisk.h:11, from src/harddisk.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/input.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/fileio.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c: At top level: src/common.c:21:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | "CHDERR_NONE", | ^~~~~~~~~~~~~ src/common.c:22:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | "CHDERR_NO_INTERFACE", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:23:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | "CHDERR_OUT_OF_MEMORY", | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:24:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24 | "CHDERR_INVALID_FILE", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:25:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 25 | "CHDERR_INVALID_PARAMETER", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:26:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | "CHDERR_INVALID_DATA", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:27:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | "CHDERR_FILE_NOT_FOUND", | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:28:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28 | "CHDERR_REQUIRES_PARENT", | ^~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:29:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 29 | "CHDERR_FILE_NOT_WRITEABLE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:30:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | "CHDERR_READ_ERROR", | ^~~~~~~~~~~~~~~~~~~ src/common.c:31:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31 | "CHDERR_WRITE_ERROR", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:32:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | "CHDERR_CODEC_ERROR", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:33:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 33 | "CHDERR_INVALID_PARENT", | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:34:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 34 | "CHDERR_HUNK_OUT_OF_RANGE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:35:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | "CHDERR_DECOMPRESSION_ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:36:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | "CHDERR_COMPRESSION_ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:37:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | "CHDERR_CANT_CREATE_FILE", | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:38:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | "CHDERR_CANT_VERIFY", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:39:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | "CHDERR_NOT_SUPPORTED", | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:40:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | "CHDERR_METADATA_NOT_FOUND", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:41:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | "CHDERR_INVALID_METADATA_SIZE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:42:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | "CHDERR_UNSUPPORTED_VERSION" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c: In function 'read_wav_sample': src/common.c:439:46: warning: assignment to 'INT16 *' {aka 'short int *'} from incompatible pointer type 'signed char *' [-Wincompatible-pointer-types] 439 | flac_file.write_data = result->data; | ^ src/common.c: In function 'readsample': src/common.c:473:28: warning: unused variable 'SampleFile' [-Wunused-variable] 473 | struct GameSample *SampleFile; | ^~~~~~~~~~ src/common.c: In function 'readsamples': src/common.c:507:14: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable] 507 | bool missing_sample = false; | ^~~~~~~~~~~~~~ Compiling src/mame-memory.c... src/common.c: In function 'determine_bios_rom': src/common.c:1156:34: warning: unused variable 'firstbios' [-Wunused-variable] 1156 | const struct SystemBios *firstbios = bios; | ^~~~~~~~~ In file included from src/driver.h:64, from src/hiscore.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/mame.c... In file included from src/inptport.h:4, from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/hash.c:136: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/mamedbg.c... src/cheat.c: In function 'DoSearchMenu': src/cheat.c:4871:25: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable] 4871 | static INT32 submenuChoice = 0; | ^~~~~~~~~~~~~ In file included from src/driver.h:64, from src/info.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/mame_unzip.c... Compiling src/palette.c... In file included from src/driver.h:64, from src/inptport.c:291: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/input.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/png.c... In file included from src/driver.h:64, from src/ui_text.h:13, from src/mame.c:107: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/profiler.c... At top level: src/datafile.c:369:12: warning: 'ci_strcmp' defined but not used [-Wunused-function] 369 | static int ci_strcmp (const char *s1, const char *s2) | ^~~~~~~~~ Compiling src/sndintrf.c... In file included from src/driver.h:64, from src/mame-memory.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c: In function 'IsRegionOffsetValidBit': In file included from src/inptport.h:4, from src/mame2003/mame2003.h:9, from src/unzip.h:5, from src/mame_unzip.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cheat.c:8831:34: warning: cast increases required alignment of target type [-Wcast-align] 8831 | return *((UINT16 *)®ion->status[offset]) != 0; | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8835:34: warning: cast increases required alignment of target type [-Wcast-align] 8835 | return *((UINT32 *)®ion->status[offset]) != 0; | ^ src/cheat.c: In function 'InvalidateRegionOffset': src/cheat.c:8851:27: warning: cast increases required alignment of target type [-Wcast-align] 8851 | *((UINT16 *)®ion->status[offset]) = 0; | ^ Compiling src/state.c... src/cheat.c:8855:27: warning: cast increases required alignment of target type [-Wcast-align] 8855 | *((UINT32 *)®ion->status[offset]) = 0; | ^ src/cheat.c: In function 'InvalidateRegionOffsetBit': src/drawgfx.c: In function 'blockmove_NtoN_transpen_noremap8': src/cheat.c:8869:27: warning: cast increases required alignment of target type [-Wcast-align] 8869 | *((UINT16 *)®ion->status[offset]) &= ~invalidate; | ^ src/drawgfx.c:308:23: warning: cast increases required alignment of target type [-Wcast-align] 308 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:321:53: warning: cast increases required alignment of target type [-Wcast-align] 321 | write_dword((UINT32 *)dstdata,col4); | ^ src/drawgfx.c:61:43: note: in definition of macro 'write_dword' 61 | #define write_dword(address,data) *(int *)address=data | ^~~~~~~ src/drawgfx.c: In function 'blockmove_NtoN_transpen_noremap_flipx8': src/drawgfx.c:377:23: warning: cast increases required alignment of target type [-Wcast-align] 377 | sd4 = (UINT32 *)srcdata; | ^ src/cheat.c:8873:27: warning: cast increases required alignment of target type [-Wcast-align] 8873 | *((UINT32 *)®ion->status[offset]) &= ~invalidate; | ^ src/cheat.c: In function 'DoMemoryRead': src/cheat.c:9109:42: warning: cast increases required alignment of target type [-Wcast-align] 9109 | data = *((UINT16 *)&buf[address]); | ^ src/cheat.c:9119:42: warning: cast increases required alignment of target type [-Wcast-align] 9119 | data = *((UINT32 *)&buf[address]); | ^ src/cheat.c: In function 'DoMemoryWrite': src/cheat.c:9234:35: warning: cast increases required alignment of target type [-Wcast-align] 9234 | *((UINT16 *)&buf[address]) = data; | ^ src/cheat.c:9246:35: warning: cast increases required alignment of target type [-Wcast-align] 9246 | *((UINT32 *)&buf[address]) = data; | ^ Compiling src/tilemap.c... In file included from src/driver.h:64, from src/palette.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/timer.c... src/drawgfx.c: In function 'blockmove_8toN_transpen_raw_pri8': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:550:80: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 550 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri8 args body | ^~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:550:80: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 550 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri8 args body | ^~~~ In file included from src/driver.h:64, from src/profiler.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/ui_text.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend_raw_pri8': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:550:80: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 550 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri8 args body | ^~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:550:80: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 550 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri8 args body | ^~~~ In file included from src/driver.h:64, from src/sndintrf.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': In file included from src/driver.h:64, from src/png.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/usrintrf.c... src/drawgfx.c: In function 'blockmove_8toN_transmask_raw_pri8': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:550:80: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 550 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri8 args body | ^~~~ src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:550:80: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 550 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri8 args body | ^~~~ Compiling src/window.c... In file included from src/driver.h:64, from src/state.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: src/info.c:646:13: warning: 'print_game_history' defined but not used [-Wunused-function] 646 | static void print_game_history(FILE* out, const struct GameDriver* game) | ^~~~~~~~~~~~~~~~~~ Compiling src/x86drc.c... In file included from src/driver.h:64, from src/tilemap.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/6522via.c... In file included from src/cpuintrf.h:13, from src/timer.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/6532riot.c... src/drawgfx.c: In function 'blockmove_8toN_transpen_pri8': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:560:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:560:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ src/mame.c: In function 'init_buffered_spriteram': src/mame.c:995:32: warning: cast increases required alignment of target type [-Wcast-align] 995 | buffered_spriteram16 = (data16_t *)buffered_spriteram; | ^ src/mame.c:996:32: warning: cast increases required alignment of target type [-Wcast-align] 996 | buffered_spriteram32 = (data32_t *)buffered_spriteram; | ^ src/mame.c:997:34: warning: cast increases required alignment of target type [-Wcast-align] 997 | buffered_spriteram16_2 = (data16_t *)buffered_spriteram_2; | ^ src/mame.c:998:34: warning: cast increases required alignment of target type [-Wcast-align] 998 | buffered_spriteram32_2 = (data32_t *)buffered_spriteram_2; | ^ src/drawgfx.c: In function 'blockmove_8toN_transblend_pri8': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:560:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:560:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/driver.h:64, from src/usrintrf.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/machine/6821pia.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/ui_text.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_pri8': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:560:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ Compiling src/machine/74123.c... src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:560:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 560 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri8 args body | ^~~~ In file included from src/driver.h:64, from src/x86drc.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/74148.c... In file included from src/driver.h:64, from src/machine/6522via.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'verify_memory': src/mame-memory.c:1247:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1247 | for (; !IS_MEMPORT_END(mwa); mwa++) | ^~~ src/mame-memory.c:1254:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1254 | mwa++; | ^~~ Compiling src/machine/74153.c... src/drawgfx.c: In function 'blockmove_8toN_transpen_raw8': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:572:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:572:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ src/palette.c: In function 'palette_alloc': src/palette.c:617:79: warning: cast increases required alignment of target type [-Wcast-align] 617 | shadow_table_base[0] = shadow_table_base[2] = (UINT32*)table_ptr16; | ^ src/palette.c:629:79: warning: cast increases required alignment of target type [-Wcast-align] 629 | shadow_table_base[1] = shadow_table_base[3] = (UINT32*)table_ptr16; | ^ src/drawgfx.c: In function 'blockmove_8toN_transblend_raw8': In file included from src/driver.h:64, from src/machine/6532riot.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/machine/7474.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:572:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'register_banks': src/mame-memory.c:1793:78: warning: cast increases required alignment of target type [-Wcast-align] 1793 | state_save_register_UINT16("bank", i, "ram", (UINT16 *)cpu_bankbase[i], banksize[i]/2); | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1796:78: warning: cast increases required alignment of target type [-Wcast-align] 1796 | state_save_register_UINT32("bank", i, "ram", (UINT32 *)cpu_bankbase[i], banksize[i]/4); | ^ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:572:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_raw8': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:572:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:572:76: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 572 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw8 args body | ^~~~ Compiling src/machine/8255ppi.c... In file included from src/driver.h:64, from src/machine/6821pia.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/eeprom.c... src/mame-memory.c: In function 'cpu_readmem16bew_word': src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2370:12: note: in expansion of macro 'READWORD16' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2453:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2453 | GENERATE_MEM_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen8': In file included from src/driver.h:64, from src/machine/74123.c:42: src/memory.h: In function 'cpu_readop16': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:582:72: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:582:72: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/idectrl.c... src/mame-memory.c: In function 'cpu_writemem16bew_word': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/74148.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2372:11: note: in expansion of macro 'WRITEWORD16' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2453:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2453 | GENERATE_MEM_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem18bew_word': src/drawgfx.c: In function 'blockmove_8toN_transblend8': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:582:72: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2370:12: note: in expansion of macro 'READWORD16' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2454:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2454 | GENERATE_MEM_HANDLERS_16BIT_BE(18) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:582:72: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ In file included from src/driver.h:64, from src/machine/74153.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem18bew_word': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/mathbox.c... src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2372:11: note: in expansion of macro 'WRITEWORD16' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2454:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2454 | GENERATE_MEM_HANDLERS_16BIT_BE(18) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask8': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:582:72: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:582:72: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 582 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##8 args body | ^~~~ src/mame-memory.c: In function 'cpu_readmem24bew_word': src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2370:12: note: in expansion of macro 'READWORD16' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2455:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2455 | GENERATE_MEM_HANDLERS_16BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem24bew_word': src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2372:11: note: in expansion of macro 'WRITEWORD16' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2455:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2455 | GENERATE_MEM_HANDLERS_16BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/7474.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/mb87078.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem32bew_word': src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2370:12: note: in expansion of macro 'READWORD16' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2456:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2456 | GENERATE_MEM_HANDLERS_16BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem32bew_word': src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2372:11: note: in expansion of macro 'WRITEWORD16' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2407:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2407 | GENERATE_HANDLERS_16BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2456:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_BE' 2456 | GENERATE_MEM_HANDLERS_16BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem16lew_word': In file included from src/driver.h:64, from src/machine/8255ppi.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2458:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2458 | GENERATE_MEM_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/random.c... src/mame-memory.c: In function 'cpu_writemem16lew_word': src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2458:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2458 | GENERATE_MEM_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/harddisk.h:11, from src/machine/idectrl.h:7, from src/machine/idectrl.c:7: src/memory.h: In function 'cpu_readop16': src/x86drc.c: In function 'drc_cache_reset': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/x86drc.c:112:28: warning: cast increases required alignment of target type [-Wcast-align] 112 | drc->entry_point = (void (*)(void))drc->cache_top; | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/x86drc.c:12: src/x86drc.c: In function 'drc_begin_sequence': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:977:17: note: in expansion of macro 'OP4' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~ src/x86drc.c:217:17: note: in expansion of macro '_jmp' 217 | _jmp(drc->dispatch); | ^~~~ src/x86drc.c: In function 'drc_end_sequence': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:977:17: note: in expansion of macro 'OP4' 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~ src/x86drc.c:241:33: note: in expansion of macro '_jmp' 241 | _jmp(drc->sequence_list[j].target); | ^~~~ In file included from src/driver.h:64, from src/machine/eeprom.c:1: src/memory.h: In function 'cpu_readop16': src/mame-memory.c: In function 'cpu_readmem17lew_word': src/x86drc.c: In function 'drc_append_verify_code': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:639:28: note: in expansion of macro 'MODRM_MABS' 639 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm' 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:643:28: note: in expansion of macro 'MODRM_MABS' 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ | ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm' 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2459:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2459 | GENERATE_MEM_HANDLERS_16BIT_LE(17) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:643:51: note: in expansion of macro 'OP4' 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ | ^~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm' 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:964:48: note: in expansion of macro 'OP4' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~ src/x86drc.c:286:17: note: in expansion of macro '_jcc' 286 | _jcc(COND_NE, drc->recompile); /* jne recompile*/ | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:746:28: note: in expansion of macro 'MODRM_MABS' 746 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm' 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem17lew_word': Compiling src/machine/ticket.c... src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:750:28: note: in expansion of macro 'MODRM_MABS' 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ | ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm' 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:198:31: warning: cast increases required alignment of target type [-Wcast-align] 198 | #define OP2(x) do { *(UINT16 *)drc->cache_top = (UINT16)(x); drc->cache_top += 2; } while (0) | ^ src/x86drc.h:750:51: note: in expansion of macro 'OP2' 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ | ^~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm' 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2459:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2459 | GENERATE_MEM_HANDLERS_16BIT_LE(17) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:964:48: note: in expansion of macro 'OP4' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~ src/x86drc.c:291:17: note: in expansion of macro '_jcc' 291 | _jcc(COND_NE, drc->recompile); /* jne recompile*/ | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:781:17: note: in expansion of macro 'MODRM_MABS' 781 | do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) | ^~~~~~~~~~ src/x86drc.h:802:6: note: in expansion of macro '_arith_m8abs_imm_common' 802 | do { _arith_m8abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:295:17: note: in expansion of macro '_cmp_m8abs_imm' 295 | _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:964:48: note: in expansion of macro 'OP4' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~ src/x86drc.c:296:17: note: in expansion of macro '_jcc' 296 | _jcc(COND_NE, drc->recompile); /* jne recompile*/ | ^~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen_raw_pri16': src/x86drc.c: In function 'drc_append_save_volatiles': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:324:17: note: in expansion of macro '_mov_m32abs_r32' 324 | _mov_m32abs_r32(drc->icountptr, REG_EBP); | ^~~~~~~~~~~~~~~ src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:326:17: note: in expansion of macro '_mov_m32abs_r32' 326 | _mov_m32abs_r32(drc->pcptr, REG_EDI); | ^~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem24lew_word': src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:328:17: note: in expansion of macro '_mov_m32abs_r32' 328 | _mov_m32abs_r32(drc->esiptr, REG_ESI); | ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_volatiles': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:339:17: note: in expansion of macro '_mov_r32_m32abs' 339 | _mov_r32_m32abs(REG_EBP, drc->icountptr); | ^~~~~~~~~~~~~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2460:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2460 | GENERATE_MEM_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:341:17: note: in expansion of macro '_mov_r32_m32abs' 341 | _mov_r32_m32abs(REG_EDI, drc->pcptr); | ^~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:343:17: note: in expansion of macro '_mov_r32_m32abs' 343 | _mov_r32_m32abs(REG_ESI, drc->esiptr); | ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_save_call_restore': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:982:35: note: in expansion of macro 'OP4' 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^~~ src/x86drc.c:354:9: note: in expansion of macro '_call' 354 | _call(target); /* call target*/ | ^~~~~ Compiling src/machine/tmp68301.c... src/mame-memory.c: In function 'cpu_writemem24lew_word': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:598:50: note: in expansion of macro 'OP4' 598 | OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ | ^~~ src/x86drc.h:603:6: note: in expansion of macro '_arith_r32_imm_common' 603 | do { _arith_r32_imm_common(0, dreg, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:357:17: note: in expansion of macro '_add_r32_imm' 357 | _add_r32_imm(REG_ESP, stackadj); /* adjust stack*/ | ^~~~~~~~~~~~ src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2460:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2460 | GENERATE_MEM_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_standard_epilogue': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:598:50: note: in expansion of macro 'OP4' 598 | OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ | ^~~ src/x86drc.h:618:6: note: in expansion of macro '_arith_r32_imm_common' 618 | do { _arith_r32_imm_common(5, dreg, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:368:17: note: in expansion of macro '_sub_r32_imm' 368 | _sub_r32_imm(REG_EBP, cycles); /* sub ebp,cycles*/ | ^~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:471:17: note: in expansion of macro 'MODRM_MBD' 471 | do { OP1(0x8d); MODRM_MBD(dest, base, disp); } while (0) | ^~~~~~~~~ src/x86drc.c:370:17: note: in expansion of macro '_lea_r32_m32bd' 370 | _lea_r32_m32bd(REG_EDI, REG_EDI, pcdelta); /* lea edi,[edi+pcdelta]*/ | ^~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:471:17: note: in expansion of macro 'MODRM_MBD' 471 | do { OP1(0x8d); MODRM_MBD(dest, base, disp); } while (0) | ^~~~~~~~~ src/x86drc.c:370:17: note: in expansion of macro '_lea_r32_m32bd' 370 | _lea_r32_m32bd(REG_EDI, REG_EDI, pcdelta); /* lea edi,[edi+pcdelta]*/ | ^~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/mathbox.c:8: src/memory.h: In function 'cpu_readop16': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:964:48: note: in expansion of macro 'OP4' 964 | OP1(0x0f); OP1(0x80 + (cond)); OP4(delta); \ | ^~~ src/x86drc.c:372:17: note: in expansion of macro '_jcc' 372 | _jcc(COND_S, drc->out_of_cycles); /* js out_of_cycles*/ | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend_raw_pri16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem29lew_word': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/x86drc.c: In function 'drc_append_dispatcher': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:261:42: note: in expansion of macro 'OP4' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2461:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2461 | GENERATE_MEM_HANDLERS_16BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:273:17: note: in expansion of macro 'OP4' 273 | OP4(disp); \ | ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:598:50: note: in expansion of macro 'OP4' 598 | OP1(0x81); MODRM_REG(reg, dreg); OP4(imm); \ | ^~~ src/x86drc.h:615:6: note: in expansion of macro '_arith_r32_imm_common' 615 | do { _arith_r32_imm_common(4, dreg, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:390:9: note: in expansion of macro '_and_r32_imm' 390 | _and_r32_imm(REG_EDX, drc->l2mask); /* and edx,l2mask*/ | ^~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:993:17: note: in expansion of macro 'MODRM_MBISD' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:391:9: note: in expansion of macro '_jmp_m32bisd' 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:993:17: note: in expansion of macro 'MODRM_MBISD' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:391:9: note: in expansion of macro '_jmp_m32bisd' 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:261:42: note: in expansion of macro 'OP4' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~ src/x86drc.h:993:17: note: in expansion of macro 'MODRM_MBISD' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:391:9: note: in expansion of macro '_jmp_m32bisd' 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem29lew_word': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:273:17: note: in expansion of macro 'OP4' 273 | OP4(disp); \ | ^~~ src/x86drc.h:993:17: note: in expansion of macro 'MODRM_MBISD' 993 | do { OP1(0xff); MODRM_MBISD(4, base, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:391:9: note: in expansion of macro '_jmp_m32bisd' 391 | _jmp_m32bisd(REG_EAX, REG_EDX, drc->l2scale, 0); /* jmp [eax+edx*l2scale]*/ | ^~~~~~~~~~~~ Compiling src/machine/z80fmly.c... src/x86drc.c: In function 'drc_append_fixed_dispatcher': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:404:17: note: in expansion of macro '_mov_r32_m32abs' 404 | _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2461:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2461 | GENERATE_MEM_HANDLERS_16BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:990:17: note: in expansion of macro 'MODRM_MBD' 990 | do { OP1(0xff); MODRM_MBD(4, base, disp); } while (0) | ^~~~~~~~~ src/x86drc.c:405:17: note: in expansion of macro '_jmp_m32bd' 405 | _jmp_m32bd(REG_EAX, (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:990:17: note: in expansion of macro 'MODRM_MBD' 990 | do { OP1(0xff); MODRM_MBD(4, base, disp); } while (0) | ^~~~~~~~~ src/x86drc.c:405:17: note: in expansion of macro '_jmp_m32bd' 405 | _jmp_m32bd(REG_EAX, (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:987:17: note: in expansion of macro 'MODRM_MABS' 987 | do { OP1(0xff); MODRM_MABS(4, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:408:17: note: in expansion of macro '_jmp_m32abs' 408 | _jmp_m32abs((UINT8 *)base + (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ | ^~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_raw_pri16': src/x86drc.c: In function 'drc_append_set_fp_rounding': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:261:42: note: in expansion of macro 'OP4' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:273:17: note: in expansion of macro 'OP4' 273 | OP4(disp); \ | ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:437:9: note: in expansion of macro '_fnstcw_m16abs' 437 | _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem32lew_word': src/x86drc.c: In function 'drc_append_set_temp_fp_rounding': src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:448:9: note: in expansion of macro '_fldcw_m16abs' 448 | _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ | ^~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_fp_rounding': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:459:9: note: in expansion of macro '_fldcw_m16abs' 459 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_entry_point': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:537:17: note: in expansion of macro '_fnstcw_m16abs' 537 | _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ | ^~~~~~~~~~~~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2462:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2462 | GENERATE_MEM_HANDLERS_16BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:538:17: note: in expansion of macro '_fldcw_m16abs' 538 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_recompile': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:290:17: note: in expansion of macro 'OP4' 290 | do { OP1(0x68); OP4(imm); } while (0) | ^~~ src/x86drc.c:565:9: note: in expansion of macro '_push_imm' 565 | _push_imm(drc); /* push drc*/ | ^~~~~~~~~ src/x86drc.c: In function 'append_out_of_cycles': src/x86drc.h:199:31: warning: cast increases required alignment of target type [-Wcast-align] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:581:17: note: in expansion of macro '_fldcw_m16abs' 581 | _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ | ^~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem32lew_word': src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2411:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2411 | GENERATE_HANDLERS_16BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2462:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_16BIT_LE' 2462 | GENERATE_MEM_HANDLERS_16BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem24bedw_word': src/mame-memory.c:1987:29: warning: cast increases required alignment of target type [-Wcast-align] 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2382:10: note: in expansion of macro 'READWORD32BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2464:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem24bedw_dword': src/drawgfx.c: In function 'blockmove_8toN_alphaone_raw_pri16': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ Compiling src/sound/filter.c... src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2383:12: note: in expansion of macro 'READLONG32' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2464:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writemem24bedw_word': src/mame-memory.c:2238:30: warning: cast increases required alignment of target type [-Wcast-align] 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2385:9: note: in expansion of macro 'WRITEWORD32BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2464:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem24bedw_dword': src/drawgfx.c: In function 'blockmove_8toN_alpha_raw_pri16': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2386:11: note: in expansion of macro 'WRITELONG32' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2464:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2464 | GENERATE_MEM_HANDLERS_32BIT_BE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ Compiling src/sound/mixer.c... src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:643:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 643 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri16 args body | ^~~~ src/machine/74148.c: In function 'TTL74148_update': src/machine/74148.c:84:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 84 | bit0 = !((!chips[which].input_lines[1] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:88:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 88 | (!chips[which].input_lines[3] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:91:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 91 | (!chips[which].input_lines[5] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:95:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 95 | bit1 = !((!chips[which].input_lines[2] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:98:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 98 | (!chips[which].input_lines[3] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem29bedw_word': src/mame-memory.c:1987:29: warning: cast increases required alignment of target type [-Wcast-align] 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2382:10: note: in expansion of macro 'READWORD32BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2465:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/ticket.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem29bedw_dword': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2383:12: note: in expansion of macro 'READLONG32' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2465:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem29bedw_word': src/mame-memory.c:2238:30: warning: cast increases required alignment of target type [-Wcast-align] 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2385:9: note: in expansion of macro 'WRITEWORD32BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2465:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem29bedw_dword': Compiling src/sound/streams.c... In file included from src/driver.h:64, from src/machine/z80fmly.c:20: src/memory.h: In function 'cpu_readop16': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2386:11: note: in expansion of macro 'WRITELONG32' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2465:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2465 | GENERATE_MEM_HANDLERS_32BIT_BE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: src/inptport.c:1608:13: warning: 'writeint' defined but not used [-Wunused-function] 1608 | static void writeint(mame_file *f,UINT32 num) | ^~~~~~~~ src/inptport.c:1589:12: warning: 'readint' defined but not used [-Wunused-function] 1589 | static int readint(mame_file *f,UINT32 *num) | ^~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/tmp68301.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem32bedw_word': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:29: warning: cast increases required alignment of target type [-Wcast-align] 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2382:10: note: in expansion of macro 'READWORD32BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2466:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem32bedw_dword': src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2383:12: note: in expansion of macro 'READLONG32' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2466:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen_pri16': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writemem32bedw_word': Compiling src/sound/votrax.c... src/mame-memory.c:2238:30: warning: cast increases required alignment of target type [-Wcast-align] 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2385:9: note: in expansion of macro 'WRITEWORD32BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2466:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem32bedw_dword': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2386:11: note: in expansion of macro 'WRITELONG32' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2466:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2466 | GENERATE_MEM_HANDLERS_32BIT_BE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend_pri16': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/mame-memory.c: In function 'cpu_readmem24ledw_word': src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2468:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem24ledw_dword': Compiling src/sound/wavwrite.c... src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2468:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_pri16': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writemem24ledw_word': src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2468:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem24ledw_dword': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2468:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2468 | GENERATE_MEM_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/mixer.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/avgdvg_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem26ledw_word': src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2469:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem26ledw_dword': src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2469:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alphaone_pri16': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writemem26ledw_word': src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2469:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/generic.c... src/mame-memory.c: In function 'cpu_writemem26ledw_dword': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2469:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2469 | GENERATE_MEM_HANDLERS_32BIT_LE(26) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alpha_pri16': src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ In file included from src/driver.h:64, from src/sound/streams.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:653:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 653 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri16 args body | ^~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem29ledw_word': src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2470:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem29ledw_dword': src/machine/eeprom.c: In function 'EEPROM_reset': src/machine/eeprom.c:251:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 251 | if (serial_count) | ^~ src/machine/eeprom.c:254:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 254 | serial_count = 0; | ^~~~~~~~~~~~ Compiling src/vidhrdw/matrix3d.c... src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2470:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/votrax.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem29ledw_word': src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2470:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem29ledw_dword': Compiling src/vidhrdw/poly.c... src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2470:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2470 | GENERATE_MEM_HANDLERS_32BIT_LE(29) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen_raw16': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/mame-memory.c: In function 'cpu_readmem32ledw_word': In file included from src/driver.h:64, from src/sound/wavwrite.c:1: src/memory.h: In function 'cpu_readop16': src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2471:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem32ledw_dword': Compiling src/vidhrdw/tlc34076.c... src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2471:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend_raw16': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writemem32ledw_word': src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2471:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writemem32ledw_dword': src/drawgfx.c: In function 'blockmove_8toN_transmask_raw16': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2419:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2419 | GENERATE_HANDLERS_32BIT_LE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2471:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_LE' 2471 | GENERATE_MEM_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vector.c... src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/avgdvg_vidhrdw.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/mame-memory.c: In function 'cpu_readmem18bedw_word': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1987:29: warning: cast increases required alignment of target type [-Wcast-align] 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2382:10: note: in expansion of macro 'READWORD32BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2473:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readmem18bedw_dword': src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2383:12: note: in expansion of macro 'READLONG32' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2473:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alphaone_raw16': src/mame-memory.c: In function 'cpu_writemem18bedw_word': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ Compiling src/drivers/pacman.c... src/mame-memory.c:2238:30: warning: cast increases required alignment of target type [-Wcast-align] 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2385:9: note: in expansion of macro 'WRITEWORD32BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2473:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writemem18bedw_dword': In file included from src/driver.h:64, from src/vidhrdw/generic.c:9: src/memory.h: In function 'cpu_readop16': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2386:11: note: in expansion of macro 'WRITELONG32' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2415:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2415 | GENERATE_HANDLERS_32BIT_BE(mem, abits) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2473:1: note: in expansion of macro 'GENERATE_MEM_HANDLERS_32BIT_BE' 2473 | GENERATE_MEM_HANDLERS_32BIT_BE(18) /* HACK -- used for pdp-1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alpha_raw16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:665:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 665 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw16 args body | ^~~~ Compiling src/machine/mspacman.c... In file included from src/driver.h:64, from src/vidhrdw/poly.h:9, from src/vidhrdw/poly.c:11: src/memory.h: In function 'cpu_readop16': src/mame-memory.c: In function 'cpu_readport16bew_word': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2370:12: note: in expansion of macro 'READWORD16' 2370 | READWORD16(cpu_read##type##abits##bew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2432:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2432 | GENERATE_HANDLERS_16BIT_BE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2513:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_16BIT_BE' 2513 | GENERATE_PORT_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writeport16bew_word': src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2372:11: note: in expansion of macro 'WRITEWORD16' 2372 | WRITEWORD16(cpu_write##type##abits##bew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2432:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_BE' 2432 | GENERATE_HANDLERS_16BIT_BE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2513:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_16BIT_BE' 2513 | GENERATE_PORT_HANDLERS_16BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/pacplus.c... src/mame-memory.c: In function 'cpu_readport16lew_word': src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2435:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2515:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2515 | GENERATE_PORT_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writeport16lew_word': src/drawgfx.c: In function 'blockmove_8toN_transpen16': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2435:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2515:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2515 | GENERATE_PORT_HANDLERS_16BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/jumpshot.c... src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/mame-memory.c: In function 'cpu_readport24lew_word': src/mame-memory.c:1961:29: warning: cast increases required alignment of target type [-Wcast-align] 1961 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2376:12: note: in expansion of macro 'READWORD16' 2376 | READWORD16(cpu_read##type##abits##lew_word, abits, read##type##_lookup, r##type##handler16, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2435:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2516:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2516 | GENERATE_PORT_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend16': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writeport24lew_word': In file included from src/driver.h:64, from src/vidhrdw/tlc34076.c:10: src/memory.h: In function 'cpu_readop16': src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2213:30: warning: cast increases required alignment of target type [-Wcast-align] 2213 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2378:11: note: in expansion of macro 'WRITEWORD16' 2378 | WRITEWORD16(cpu_write##type##abits##lew_word, abits, write##type##_lookup, w##type##handler16, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2435:1: note: in expansion of macro 'GENERATE_HANDLERS_16BIT_LE' 2435 | GENERATE_HANDLERS_16BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2516:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_16BIT_LE' 2516 | GENERATE_PORT_HANDLERS_16BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/theglobp.c... src/drawgfx.c: In function 'blockmove_8toN_transmask16': src/mame-memory.c: In function 'cpu_readport16bedw_word': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/mame-memory.c:1987:29: warning: cast increases required alignment of target type [-Wcast-align] 1987 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2382:10: note: in expansion of macro 'READWORD32BE' 2382 | READWORD32BE(cpu_read##type##abits##bedw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2438:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2518:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readport16bedw_dword': src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2383:12: note: in expansion of macro 'READLONG32' 2383 | READLONG32(cpu_read##type##abits##bedw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2438:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2518:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writeport16bedw_word': In file included from src/driver.h:64, from src/vidhrdw/vector.c:37: src/memory.h: In function 'cpu_readop16': Compiling src/machine/acitya.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2238:30: warning: cast increases required alignment of target type [-Wcast-align] 2238 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_BE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2385:9: note: in expansion of macro 'WRITEWORD32BE' 2385 | WRITEWORD32BE(cpu_write##type##abits##bedw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2438:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2518:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writeport16bedw_dword': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2386:11: note: in expansion of macro 'WRITELONG32' 2386 | WRITELONG32(cpu_write##type##abits##bedw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2438:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_BE' 2438 | GENERATE_HANDLERS_32BIT_BE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2518:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_BE' 2518 | GENERATE_PORT_HANDLERS_32BIT_BE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alphaone16': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/mame-memory.c: In function 'cpu_readport16ledw_word': src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2520:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/jrpacman.c... src/mame-memory.c: In function 'cpu_readport16ledw_dword': src/drawgfx.c: In function 'blockmove_8toN_alpha16': In file included from src/driver.h:64, from src/drivers/pacman.c:179: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2520:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:675:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 675 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##16 args body | ^~~~ src/mame-memory.c: In function 'cpu_writeport16ledw_word': src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2520:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/mspacman.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writeport16ledw_dword': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jrpacman_vidhrdw.c... src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2520:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2520 | GENERATE_PORT_HANDLERS_32BIT_LE(16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readport24ledw_word': src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2521:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readport24ledw_dword': src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2521:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pengo_vidhrdw.c... src/mame-memory.c: In function 'cpu_writeport24ledw_word': src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2521:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'SHADOW32': src/drawgfx.c:722:17: warning: cast increases required alignment of target type [-Wcast-align] 722 | return(((UINT32*)palette_shadow_table)[c]); } | ^ src/mame-memory.c: In function 'cpu_writeport24ledw_dword': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2521:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2521 | GENERATE_PORT_HANDLERS_32BIT_LE(24) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/pacplus.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pengo.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readport32ledw_word': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/jumpshot.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2014:29: warning: cast increases required alignment of target type [-Wcast-align] 2014 | MEMREADEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2390:10: note: in expansion of macro 'READWORD32LE' 2390 | READWORD32LE(cpu_read##type##abits##ledw_word, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2522:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readport32ledw_dword': src/mame-memory.c:2047:29: warning: cast increases required alignment of target type [-Wcast-align] 2047 | MEMREADEND(*(data32_t *)&cpu_bankbase[entry][address]) \ | ^ src/mame-memory.c:58:79: note: in definition of macro 'MEMREADEND' 58 | #define MEMREADEND(ret) { profiler_mark(PROFILER_END); return ret; } | ^~~ src/mame-memory.c:2391:12: note: in expansion of macro 'READLONG32' 2391 | READLONG32(cpu_read##type##abits##ledw_dword, abits, read##type##_lookup, r##type##handler32, type##_amask) \ | ^~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2522:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_writeport32ledw_word': src/mame-memory.c:2264:30: warning: cast increases required alignment of target type [-Wcast-align] 2264 | MEMWRITEEND(*(data16_t *)&cpu_bankbase[entry][WORD_XOR_LE(address)] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2393:9: note: in expansion of macro 'WRITEWORD32LE' 2393 | WRITEWORD32LE(cpu_write##type##abits##ledw_word, abits, write##type##_lookup, w##type##handler32, type##_amask) \ | ^~~~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2522:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/epos.c... src/mame-memory.c: In function 'cpu_writeport32ledw_dword': src/drawgfx.c: In function 'blockmove_8toN_transpen_raw_pri32': src/mame-memory.c:2296:30: warning: cast increases required alignment of target type [-Wcast-align] 2296 | MEMWRITEEND(*(data32_t *)&cpu_bankbase[entry][address] = data) \ | ^ src/mame-memory.c:60:44: note: in definition of macro 'MEMWRITEEND' 60 | #define MEMWRITEEND(ret) { (ret); profiler_mark(PROFILER_END); return; } | ^~~ src/mame-memory.c:2394:11: note: in expansion of macro 'WRITELONG32' 2394 | WRITELONG32(cpu_write##type##abits##ledw_dword,abits, write##type##_lookup, w##type##handler32, type##_amask) | ^~~~~~~~~~~ src/mame-memory.c:2441:1: note: in expansion of macro 'GENERATE_HANDLERS_32BIT_LE' 2441 | GENERATE_HANDLERS_32BIT_LE(port, abits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2522:1: note: in expansion of macro 'GENERATE_PORT_HANDLERS_32BIT_LE' 2522 | GENERATE_PORT_HANDLERS_32BIT_LE(32) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/mame-memory.c:19: src/mame-memory.c: In function 'cpu_readop16_safe': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/mame-memory.c:2538:16: note: in expansion of macro 'cpu_readop16_unsafe' 2538 | return cpu_readop16_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readop32_safe': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/mame-memory.c:2544:16: note: in expansion of macro 'cpu_readop32_unsafe' 2544 | return cpu_readop32_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readop_arg16_safe': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/mame-memory.c:2556:16: note: in expansion of macro 'cpu_readop_arg16_unsafe' 2556 | return cpu_readop_arg16_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'cpu_readop_arg32_safe': In file included from src/driver.h:64, from src/machine/theglobp.c:64: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/machine/acitya.c:15: src/memory.h: In function 'cpu_readop16': src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/mame-memory.c:2562:16: note: in expansion of macro 'cpu_readop_arg32_unsafe' 2562 | return cpu_readop_arg32_unsafe(offset); | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/mame-memory.c: In function 'mrh16_bad': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/mame-memory.c:2623:84: warning: cast increases required alignment of target type [-Wcast-align] 2623 | if (activecpu_address_bits() <= SPARSE_THRESH && unmap_value == 0) return ((data16_t *)cpu_bankbase[STATIC_RAM])[offset]; | ^ src/mame-memory.c: In function 'mrh32_bad': Compiling src/vidhrdw/epos_vidhrdw.c... src/mame-memory.c:2629:84: warning: cast increases required alignment of target type [-Wcast-align] 2629 | if (activecpu_address_bits() <= SPARSE_THRESH && unmap_value == 0) return ((data32_t *)cpu_bankbase[STATIC_RAM])[offset]; | ^ In file included from src/driver.h:64, from src/mame-memory.c:19: src/mame-memory.c: In function 'mwh16_bad': src/mame-memory.c:2641:71: warning: cast increases required alignment of target type [-Wcast-align] 2641 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data16_t *)cpu_bankbase[STATIC_RAM])[offset]); | ^ src/memory.h:872:44: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/mame-memory.c:2641:71: warning: cast increases required alignment of target type [-Wcast-align] 2641 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data16_t *)cpu_bankbase[STATIC_RAM])[offset]); | ^ src/memory.h:872:57: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/mame-memory.c: In function 'mwh32_bad': src/mame-memory.c:2646:71: warning: cast increases required alignment of target type [-Wcast-align] 2646 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data32_t *)cpu_bankbase[STATIC_RAM])[offset]); | ^ src/memory.h:872:44: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/mame-memory.c:2646:71: warning: cast increases required alignment of target type [-Wcast-align] 2646 | if (activecpu_address_bits() <= SPARSE_THRESH) COMBINE_DATA(&((data32_t *)cpu_bankbase[STATIC_RAM])[offset]); | ^ src/memory.h:872:57: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend_raw_pri32': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ Compiling src/vidhrdw/cclimber_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/jrpacman.c:101: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_raw_pri32': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/jrpacman_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/cclimber_sndhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cclimber.c... src/drawgfx.c: In function 'blockmove_8toN_alphaone_raw_pri32': In file included from src/driver.h:64, from src/vidhrdw/pengo_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ Compiling src/drivers/yamato.c... In file included from src/driver.h:64, from src/drivers/pengo.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alpha_raw_pri32': src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:743:81: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 743 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw_pri32 args body | ^~~~ src/vidhrdw/tlc34076.c: In function 'tlc34076_w': src/vidhrdw/tlc34076.c:138:15: warning: variable 'oldval' set but not used [-Wunused-but-set-variable] 138 | UINT8 oldval; | ^~~~~~ In file included from src/driver.h:64, from src/drivers/epos.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gomoku_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mame.h:13, from src/mamedbg.h:4, from src/driver.h:65, from src/cheat.c:374: In function 'memset', inlined from 'ResizeWatchListNoDispose' at src/cheat.c:7317:4, inlined from 'DeleteWatchAt' at src/cheat.c:7356:2: /usr/include/fortify/string.h:72:16: warning: '__builtin_memset' specified bound 4294967012 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 72 | return __builtin_memset(__d, __c, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/epos_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/gomoku_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/cclimber_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen_pri32': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ Compiling src/drivers/gomoku.c... In file included from src/driver.h:64, from src/drivers/cclimber.c:128: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/cclimber_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wiping_vidhrdw.c... src/drawgfx.c: In function 'blockmove_8toN_transblend_pri32': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_pri32': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ Compiling src/sndhrdw/wiping_sndhrdw.c... src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/driver.h:64, from src/drivers/yamato.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wiping.c... In file included from src/driver.h:64, from src/vidhrdw/gomoku_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/drawgfx.c: In function 'blockmove_8toN_alphaone_pri32': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ Compiling src/vidhrdw/seicross_vidhrdw.c... src/drawgfx.c: In function 'blockmove_8toN_alpha_pri32': src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:753:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 753 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_pri32 args body | ^~~~ In file included from src/driver.h:64, from src/sndhrdw/gomoku_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/seicross.c... Compiling src/vidhrdw/clshroad_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gomoku.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen_raw32': In file included from src/driver.h:64, from src/vidhrdw/wiping_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend_raw32': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ Compiling src/drivers/clshroad.c... src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ src/drawgfx.c: In function 'blockmove_8toN_transmask_raw32': src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/driver.h:64, from src/sndhrdw/wiping_sndhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tubep_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/wiping.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tubep.c... src/drawgfx.c: In function 'blockmove_8toN_alphaone_raw32': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/seicross_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alpha_raw32': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/magmax_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:765:77: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 765 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##_raw32 args body | ^~~~ Compiling src/drivers/magmax.c... In file included from src/driver.h:64, from src/drivers/seicross.c:45: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'ResizeCheatListNoDispose' at src/cheat.c:7085:4, inlined from 'DeleteCheatAt.part.0' at src/cheat.c:7125:2: /usr/include/fortify/string.h:72:16: warning: '__builtin_memset' specified bound 4294967268 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 72 | return __builtin_memset(__d, __c, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transpen32': src/drawgfx.c:3785:31: warning: cast increases required alignment of target type [-Wcast-align] 3785 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ src/drawgfx.c:3836:31: warning: cast increases required alignment of target type [-Wcast-align] 3836 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ Compiling src/vidhrdw/cop01_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/clshroad_vidhrdw.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_transblend32': src/drawgfx.c:3967:31: warning: cast increases required alignment of target type [-Wcast-align] 3967 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ src/drawgfx.c:4018:31: warning: cast increases required alignment of target type [-Wcast-align] 4018 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/driver.h:64, from src/drivers/clshroad.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cop01.c... src/drawgfx.c: In function 'blockmove_8toN_transmask32': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4076:31: warning: cast increases required alignment of target type [-Wcast-align] 4076 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/tubep_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/drawgfx.c:4124:31: warning: cast increases required alignment of target type [-Wcast-align] 4124 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/terracre_vidhrdw.c... src/drawgfx.c: In function 'blockmove_8toN_alphaone32': src/drawgfx.c:4462:31: warning: cast increases required alignment of target type [-Wcast-align] 4462 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ src/drawgfx.c:4550:31: warning: cast increases required alignment of target type [-Wcast-align] 4550 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/magmax_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/terracre.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'blockmove_8toN_alpha32': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/drawgfx.c:4638:31: warning: cast increases required alignment of target type [-Wcast-align] 4638 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c:4689:31: warning: cast increases required alignment of target type [-Wcast-align] 4689 | sd4 = (UINT32 *)srcdata; | ^ src/drawgfx.c:775:73: note: in definition of macro 'DECLARE_SWAP_RAW_PRI' 775 | #define DECLARE_SWAP_RAW_PRI(function,args,body) void function##32 args body | ^~~~ In file included from src/driver.h:64, from src/drivers/tubep.c:105: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/galivan_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/magmax.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/galivan.c... Compiling src/vidhrdw/armedf_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/cop01_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/cop01.c:52: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/armedf.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drawgfx.c: In function 'draw_crosshair': src/drawgfx.c:3521:23: warning: variable 'black' set but not used [-Wunused-but-set-variable] 3521 | unsigned long black,white; | ^~~~~ Compiling src/machine/nb1413m3.c... Compiling src/vidhrdw/hyhoo_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/terracre_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/terracre.c:83: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hyhoo.c... In file included from src/driver.h:64, from src/vidhrdw/galivan_vidhrdw.c:32: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/galivan.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pastelgl_vidhrdw.c... Compiling src/drivers/pastelgl.c... Compiling src/vidhrdw/nbmj8688_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/armedf_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/nbmj8688.c... In file included from src/driver.h:64, from src/machine/nb1413m3.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/armedf.c:146: src/memory.h: In function 'cpu_readop16': src/vidhrdw/tubep_vidhrdw.c: In function 'palette_init_tubep': src/vidhrdw/tubep_vidhrdw.c:235:16: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable] 235 | double output_scaler; | ^~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nbmj8891_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/hyhoo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/tubep_vidhrdw.c:22: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/nbmj8891.c... In file included from src/driver.h:64, from src/drivers/hyhoo.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nbmj8991_vidhrdw.c... Compiling src/drivers/nbmj8991.c... In file included from src/driver.h:64, from src/vidhrdw/pastelgl_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/pastelgl.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nbmj9195_vidhrdw.c... Compiling src/drivers/nbmj9195.c... In file included from src/driver.h:64, from src/drivers/nbmj8688.c:30: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/niyanpai_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/nbmj8891_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/nbmj8891.c:99: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/niyanpai.c... In file included from src/driver.h:64, from src/vidhrdw/nbmj8688_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/m68kfmly.c... In file included from src/driver.h:64, from src/vidhrdw/nbmj8991_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/nbmj8991.c:81: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/safarir.c... In file included from src/driver.h:64, from src/vidhrdw/nbmj9195_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/nbmj9195.c:96: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/phoenix_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/niyanpai_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/phoenix_sndhrdw.c... Compiling src/drivers/phoenix.c... In file included from src/driver.h:64, from src/drivers/niyanpai.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/m68kfmly.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/pleiads.c... Compiling src/vidhrdw/naughtyb_vidhrdw.c... Compiling src/drivers/naughtyb.c... In file included from src/driver.h:64, from src/vidhrdw/phoenix_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/safarir.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/geebee_machine.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/geebee_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/phoenix_sndhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/geebee_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/phoenix.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/geebee.c... In file included from src/driver.h:64, from src/sndhrdw/pleiads.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/naughtyb_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/warpwarp_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/warpwarp_sndhrdw.c... Compiling src/drivers/warpwarp.c... In file included from src/driver.h:64, from src/machine/geebee_machine.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/naughtyb.c:106: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tankbatt_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/geebee_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/tankbatt.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/galaxian_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/geebee.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/geebee_sndhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/galaxian_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/warpwarp_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/galaxian.c... Compiling src/vidhrdw/rallyx_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/warpwarp.c:60: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rallyx.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/warpwarp_sndhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/locomotn.c... In file included from src/driver.h:64, from src/vidhrdw/tankbatt_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/bosco_machine.c... In file included from src/driver.h:64, from src/vidhrdw/galaxian_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/tankbatt.c:58: src/memory.h: In function 'cpu_readop16': Compiling src/sndhrdw/bosco_sndhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/galaxian_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bosco_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bosco.c... In file included from src/driver.h:64, from src/drivers/galaxian.c:119: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/galaga_machine.c... Compiling src/vidhrdw/galaga_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/rallyx_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/locomotn.c:51: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/galaga.c... In file included from src/driver.h:64, from src/drivers/rallyx.c:56: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/naughtyb_vidhrdw.c:11: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/digdug_machine.c... In file included from src/driver.h:64, from src/machine/bosco_machine.c:84: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/digdug_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/bosco_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/digdug.c... In file included from src/driver.h:64, from src/vidhrdw/bosco_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xevious_vidhrdw.c... Compiling src/machine/xevious_machine.c... In file included from src/driver.h:64, from src/vidhrdw/galaga_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/bosco.c:69: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/machine/galaga_machine.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/xevious.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/superpac_machine.c... Compiling src/vidhrdw/superpac_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/galaga.c:73: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/superpac.c... In file included from src/driver.h:64, from src/machine/digdug_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/digdug_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/machine/phozon_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/digdug.c:114: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/xevious_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/phozon_vidhrdw.c... In file included from src/driver.h:64, from src/machine/xevious_machine.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/phozon.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/galaxian_sndhrdw.c: In function 'galaxian_sh_start': src/sndhrdw/galaxian_sndhrdw.c:206:26: warning: variable 'charge' set but not used [-Wunused-but-set-variable] 206 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^~~~~~ src/sndhrdw/galaxian_sndhrdw.c:206:19: warning: variable 'sweep' set but not used [-Wunused-but-set-variable] 206 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^~~~~ src/sndhrdw/galaxian_sndhrdw.c:206:16: warning: variable 'j' set but not used [-Wunused-but-set-variable] 206 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^ In file included from src/driver.h:64, from src/machine/superpac_machine.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/machine/mappy_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/xevious.c:200: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mappy_vidhrdw.c... Compiling src/drivers/mappy.c... In file included from src/driver.h:64, from src/vidhrdw/superpac_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/grobda_machine.c... In file included from src/driver.h:64, from src/drivers/superpac.c:38: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/phozon_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/grobda_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/phozon_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/grobda.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/gaplus_machine.c... src/vidhrdw/bosco_vidhrdw.c: In function 'video_update_bosco': src/vidhrdw/bosco_vidhrdw.c:326:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 326 | if (flipscreen) sx += 32; | ^~ src/vidhrdw/bosco_vidhrdw.c:327:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 327 | sy = 225 - spriteram_2[offs] - displacement; | ^~ In file included from src/driver.h:64, from src/drivers/phozon.c:42: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/gaplus_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/mappy_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gaplus.c... In file included from src/driver.h:64, from src/vidhrdw/mappy_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/toypop_machine.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mappy.c:45: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/toypop_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/grobda_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/toypop.c... Compiling src/machine/polepos_machine.c... In file included from src/driver.h:64, from src/vidhrdw/grobda_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/polepos_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/grobda.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/gaplus_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/polepos_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/gaplus.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/gaplus_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/polepos.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/toypop_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pacland_vidhrdw.c... Compiling src/drivers/pacland.c... In file included from src/driver.h:64, from src/drivers/toypop.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/toypop_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/skykid_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/skykid.c... In file included from src/driver.h:64, from src/machine/polepos_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/polepos_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/baraduke_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/polepos_sndhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/baraduke.c... Compiling src/vidhrdw/namcos86_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/pacland_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/polepos.c:65: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos86.c... In file included from src/driver.h:64, from src/drivers/pacland.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tceptor_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/skykid_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tceptor.c... In file included from src/driver.h:64, from src/drivers/skykid.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/namcos1_machine.c... In file included from src/driver.h:64, from src/vidhrdw/baraduke_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/namcos1_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/baraduke.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos1.c... Compiling src/machine/namcos2_machine.c... In file included from src/driver.h:64, from src/vidhrdw/namcos86_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/namcos2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/namcos86.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/tceptor_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/namcos2.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcoic.c... In file included from src/driver.h:64, from src/machine/namcos1_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/namcona1_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/tceptor.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcona1.c... Compiling src/vidhrdw/namconb1_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/namcos1_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/namcos1.c:201: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/namconb1.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/namcos2_machine.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/namcond1_machine.c... In file included from src/driver.h:64, from src/drivers/namcos2.c:447: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/namcos2_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ygv608.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/namcona1_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcond1.c... In file included from src/driver.h:64, from src/drivers/namcoic.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/psx_vidhrdw.c... Compiling src/machine/psx_machine.c... In file included from src/driver.h:64, from src/vidhrdw/namconb1_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos10.c... In file included from src/driver.h:64, from src/drivers/namcona1.c:76: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos11.c... In file included from src/driver.h:64, from src/drivers/namconb1.c:290: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/namcond1_machine.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos12.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/ygv608.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/namcos3d.c... src/vidhrdw/tceptor_vidhrdw.c: In function 'palette_init_tceptor': src/vidhrdw/tceptor_vidhrdw.c:47:24: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable] 47 | int totcolors, totlookup; | ^~~~~~~~~ In file included from src/driver.h:64, from src/drivers/namcond1.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/namcos21_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/psx_vidhrdw.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos21.c... In file included from src/driver.h:64, from src/machine/psx_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/namcos22_vidhrdw.c... Compiling src/drivers/namcos22.c... Compiling src/vidhrdw/cosmic_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/namcos10.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cosmic.c... In file included from src/driver.h:64, from src/drivers/namcos11.c:144: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/includes/namcos3d.h:1, from src/vidhrdw/namcos3d.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/namcos12.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/redclash_vidhrdw.c... Compiling src/drivers/redclash.c... In file included from src/driver.h:64, from src/drivers/namcos21.c:187: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ladybug_vidhrdw.c... In file included from src/driver.h:64, from src/includes/namcos22.h:1, from src/drivers/namcos22.c:552: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/includes/namcos22.h:1, from src/vidhrdw/namcos22_vidhrdw.c:45: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': In file included from src/driver.h:64, from src/vidhrdw/namcos21_vidhrdw.c:77: src/memory.h: In function 'cpu_readop16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ladybug.c... src/machine/namcos2_machine.c: In function 'namcos2_68k_data_rom_r': src/machine/namcos2_machine.c:130:25: warning: cast increases required alignment of target type [-Wcast-align] 130 | data16_t *ROM = (data16_t *)memory_region(REGION_USER1); | ^ In file included from src/driver.h:64, from src/vidhrdw/cosmic_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/cheekyms_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/cosmic.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cheekyms.c... In file included from src/driver.h:64, from src/vidhrdw/redclash_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mrdo_vidhrdw.c... Compiling src/drivers/mrdo.c... In file included from src/driver.h:64, from src/drivers/redclash.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/docastle_machine.c... src/machine/psx_machine.c: In function 'psxreadword': src/machine/psx_machine.c:38:19: warning: cast increases required alignment of target type [-Wcast-align] 38 | return *( (UINT16 *)&m_p_n_ram[ WORD_XOR_LE( n_address ) ] ); | ^ src/machine/psx_machine.c: In function 'psx_dma_w': src/machine/psx_machine.c:231:68: warning: cast increases required alignment of target type [-Wcast-align] 231 | n_nextaddress = *( (UINT32 *)&m_p_n_ram[ n_address ] ); | ^ src/machine/psx_machine.c:256:60: warning: cast increases required alignment of target type [-Wcast-align] 256 | *( (UINT32 *)&m_p_n_ram[ n_address ] ) = n_nextaddress; | ^ src/machine/psx_machine.c:260:52: warning: cast increases required alignment of target type [-Wcast-align] 260 | *( (UINT32 *)&m_p_n_ram[ n_address ] ) = 0xffffff; | ^ In file included from src/driver.h:64, from src/vidhrdw/ladybug_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/ladybug.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/docastle_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c: In function 'mdec_yuv2_to_rgb15': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/psx_machine.c:853:36: warning: cast increases required alignment of target type [-Wcast-align] 853 | *( (UINT32 *)&m_p_n_ram[ n_address ] ) = mdec_makergb15( n_r, n_g, n_b, p_n_y ) | n_stp; | ^ src/machine/psx_machine.c:854:36: warning: cast increases required alignment of target type [-Wcast-align] 854 | *( (UINT32 *)&m_p_n_ram[ n_address + 32 ] ) = mdec_makergb15( n_r, n_g, n_b, p_n_y + 8 ) | n_stp; | ^ src/machine/psx_machine.c:862:36: warning: cast increases required alignment of target type [-Wcast-align] 862 | *( (UINT32 *)&m_p_n_ram[ n_address + 16 ] ) = mdec_makergb15( n_r, n_g, n_b, p_n_y + DCTSIZE2 ) | n_stp; | ^ src/machine/psx_machine.c:863:36: warning: cast increases required alignment of target type [-Wcast-align] 863 | *( (UINT32 *)&m_p_n_ram[ n_address + 48 ] ) = mdec_makergb15( n_r, n_g, n_b, p_n_y + DCTSIZE2 + 8 ) | n_stp; | ^ src/machine/psx_machine.c: In function 'gpu_read': src/machine/psx_machine.c:961:23: warning: cast increases required alignment of target type [-Wcast-align] 961 | psx_gpu_read( (UINT32 *)&m_p_n_ram[ n_address ], n_size ); | ^ src/machine/psx_machine.c: In function 'gpu_write': src/machine/psx_machine.c:966:24: warning: cast increases required alignment of target type [-Wcast-align] 966 | psx_gpu_write( (UINT32 *)&m_p_n_ram[ n_address ], n_size ); | ^ src/drivers/namconb1.c: In function 'ShuffleDataROMs': src/drivers/namconb1.c:380:28: warning: cast increases required alignment of target type [-Wcast-align] 380 | data32_t *pMem32 = (data32_t *)pMem8; | ^ Compiling src/drivers/docastle.c... In file included from src/driver.h:64, from src/vidhrdw/cheekyms_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dkong_vidhrdw.c... src/vidhrdw/psx_vidhrdw.c: In function 'MonochromeLine': src/vidhrdw/psx_vidhrdw.c:2106:15: warning: variable 'n_db' set but not used [-Wunused-but-set-variable] 2106 | INT32 n_db; | ^~~~ src/vidhrdw/psx_vidhrdw.c:2105:15: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable] 2105 | INT32 n_dg; | ^~~~ src/vidhrdw/psx_vidhrdw.c:2104:15: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable] 2104 | INT32 n_dr; | ^~~~ Compiling src/sndhrdw/dkong_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/cheekyms.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos12.c: In function 'namcos12_vblank': src/drivers/namcos12.c:120:24: warning: cast increases required alignment of target type [-Wcast-align] 120 | if( *( (data32_t *)&RAM[ 0x2ac494 ] ) == 0x080ab125 ) | ^ src/drivers/namcos12.c:122:28: warning: cast increases required alignment of target type [-Wcast-align] 122 | *( (data32_t *)&RAM[ 0x2ac494 ] ) = 0; | ^ src/drivers/namcos12.c:128:24: warning: cast increases required alignment of target type [-Wcast-align] 128 | if( *( (data32_t *)&RAM[ 0x16d50 ] ) == 0x08005b54 ) | ^ src/drivers/namcos12.c:130:28: warning: cast increases required alignment of target type [-Wcast-align] 130 | *( (data32_t *)&RAM[ 0x16d50 ] ) = 0; | ^ In file included from src/driver.h:64, from src/vidhrdw/mrdo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/drivers/namcos10.c: In function 'init_namcos10': src/drivers/namcos10.c:68:25: warning: cast increases required alignment of target type [-Wcast-align] 68 | data16_t *RAM = (data16_t *)memory_region( REGION_USER2 ); | ^ src/drivers/namcos12.c: In function 'namcos12_rom_read': src/drivers/namcos12.c:167:27: warning: cast increases required alignment of target type [-Wcast-align] 167 | p_n_src = (data32_t *)( memory_region( REGION_USER2 ) + ( m_n_dmaoffset & 0x003fffff ) ); | ^ src/drivers/namcos12.c:171:27: warning: cast increases required alignment of target type [-Wcast-align] 171 | p_n_src = (data32_t *)( memory_region( REGION_USER3 ) + ( m_n_dmaoffset & 0x7fffffff ) ); | ^ src/drivers/namcos12.c:174:19: warning: cast increases required alignment of target type [-Wcast-align] 174 | p_n_dst = (data32_t *)( memory_region( REGION_CPU1 ) + n_address ); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dkong.c... src/drivers/namcos12.c: In function 'init_namcos12': src/drivers/namcos12.c:270:20: warning: cast increases required alignment of target type [-Wcast-align] 270 | *( (data32_t *)&RAM[ 0x20280 ] ) = 0; | ^ src/drivers/namcos12.c:271:20: warning: cast increases required alignment of target type [-Wcast-align] 271 | *( (data32_t *)&RAM[ 0x20284 ] ) = 0; | ^ src/drivers/namcos12.c:272:20: warning: cast increases required alignment of target type [-Wcast-align] 272 | *( (data32_t *)&RAM[ 0x20288 ] ) = 0; | ^ src/drivers/namcona1.c: In function 'mcu_command_w': src/drivers/namcona1.c:517:26: warning: cast increases required alignment of target type [-Wcast-align] 517 | data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); | ^ Compiling src/machine/strtheat.c... In file included from src/driver.h:64, from src/machine/docastle_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/namcona1.c: In function 'init_namcona1': src/drivers/namcona1.c:1030:26: warning: cast increases required alignment of target type [-Wcast-align] 1030 | data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mrdo.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mario_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/docastle_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/mario_sndhrdw.c... src/vidhrdw/cosmic_vidhrdw.c: In function 'cosmica_draw_starfield': src/vidhrdw/cosmic_vidhrdw.c:378:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 378 | if ((!(hc & va) & (vb ^ hb_)) && /* right network */ | ^~~~~~~~~~ src/vidhrdw/cosmic_vidhrdw.c: In function 'nomnlnd_draw_background': src/vidhrdw/cosmic_vidhrdw.c:536:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 536 | if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) | ^~~~ src/vidhrdw/cosmic_vidhrdw.c:539:37: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 539 | if (!hd_ & hc_ & !hb_) | ^~~~ src/vidhrdw/cosmic_vidhrdw.c:570:50: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 570 | (!plane1 & hd) << 2; // B - see above | ^~~~~~~ Compiling src/drivers/mario.c... In file included from src/driver.h:64, from src/drivers/docastle.c:119: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/dkong_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/popeye_vidhrdw.c... src/vidhrdw/namcos21_vidhrdw.c: In function 'BlitPolyObject': src/vidhrdw/namcos21_vidhrdw.c:132:35: warning: cast increases required alignment of target type [-Wcast-align] 132 | const INT32 *pPointData = (INT32 *)memory_region( REGION_USER2 ); | ^ In file included from src/driver.h:64, from src/drivers/dkong.c:164: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/popeye.c... In file included from src/driver.h:64, from src/sndhrdw/dkong_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cosmic.c: In function 'panic_sound_output_w': src/drivers/cosmic.c:69:34: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 69 | else | ^~~~ src/drivers/cosmic.c:71:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 71 | break; | ^~~~~ src/drivers/cosmic.c: In function 'panic_interrupt': src/drivers/cosmic.c:190:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 190 | if ((input_port_3_r(0) & 0xc0) != 0xc0) | ^~ src/drivers/cosmic.c:193:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 193 | cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/strtheat.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/punchout_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/mario_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/punchout.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/rp5h01.c... Compiling src/vidhrdw/ppu2c03b.c... In file included from src/driver.h:64, from src/sndhrdw/mario_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/playch10_machine.c... In file included from src/driver.h:64, from src/drivers/mario.c:71: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/playch10_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/popeye.c:19: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/popeye_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/playch10.c... In file included from src/driver.h:64, from src/vidhrdw/punchout_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/machine/vsnes_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/punchout.c:97: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/rp5h01.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vsnes_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/ppu2c03b.h:12, from src/vidhrdw/ppu2c03b.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos21.c: In function 'namcos21_init': src/drivers/namcos21.c:824:26: warning: cast increases required alignment of target type [-Wcast-align] 824 | data32_t *pMem = (data32_t *)memory_region(REGION_USER2); | ^ src/drivers/namcos21.c:837:21: warning: cast increases required alignment of target type [-Wcast-align] 837 | mpDataROM = (data16_t *)memory_region( REGION_USER1 ); | ^ src/drivers/namcos21.c: In function 'init_solvalou': src/drivers/namcos21.c:872:26: warning: cast increases required alignment of target type [-Wcast-align] 872 | data16_t *pMem = (data16_t *)memory_region( REGION_CPU1 ); | ^ In file included from src/driver.h:64, from src/machine/playch10_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/vsnes.c... Compiling src/machine/snes_machine.c... src/vidhrdw/dkong_vidhrdw.c: In function 'radarscp_grid_color_w': src/vidhrdw/dkong_vidhrdw.c:220:17: warning: variable 'b' set but not used [-Wunused-but-set-variable] 220 | int r,g,b; | ^ src/vidhrdw/dkong_vidhrdw.c:220:15: warning: variable 'g' set but not used [-Wunused-but-set-variable] 220 | int r,g,b; | ^ src/vidhrdw/dkong_vidhrdw.c:220:13: warning: variable 'r' set but not used [-Wunused-but-set-variable] 220 | int r,g,b; | ^ Compiling src/vidhrdw/snes_vidhrdw.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/namconb1.c:290: At top level: In file included from src/driver.h:64, from src/vidhrdw/playch10_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/playch10.c:296: src/memory.h: In function 'cpu_readop16': src/inptport.h:187:43: warning: 'input_ports_machbrkr' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/namconb1.c:1141:1: note: in expansion of macro 'INPUT_PORTS_START' 1141 | INPUT_PORTS_START( machbrkr ) | ^~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/snes_sndhrdw.c... In file included from src/driver.h:64, from src/machine/vsnes_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/nss.c... In file included from src/drivers/namcos11.c:144: At top level: Compiling src/machine/8080bw.c... src/driver.h:98:14: warning: 'construct_coh110' defined but not used [-Wunused-function] 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~ src/drivers/namcos11.c:797:8: note: in expansion of macro 'MACHINE_DRIVER_START' 797 | static MACHINE_DRIVER_START( coh110 ) | ^~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/vsnes.c:128: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/8080bw_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/vsnes_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/8080bw_sndhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/snes_machine.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/8080bw_drivers.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/snes_vidhrdw.c:77: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sspeedr_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/snes_sndhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sspeedr.c... In file included from src/driver.h:64, from src/drivers/nss.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/m79amb_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/8080bw_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/8080bw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/m79amb.c... In file included from src/driver.h:64, from src/sndhrdw/8080bw_sndhrdw.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rotaryf.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/8080bw_drivers.c:66: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/lazercmd.c... Compiling src/vidhrdw/lazercmd_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/sspeedr.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/meadows.c... In file included from src/driver.h:64, from src/vidhrdw/sspeedr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/meadows_sndhrdw.c... Compiling src/vidhrdw/meadows_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/m79amb_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/m79amb.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cvs.c... In file included from src/driver.h:64, from src/drivers/rotaryf.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/namcos22.c: In function 'init_airco22': src/drivers/namcos22.c:2423:26: warning: cast increases required alignment of target type [-Wcast-align] 2423 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^ src/drivers/namcos22.c: In function 'init_propcycl': src/drivers/namcos22.c:2439:26: warning: cast increases required alignment of target type [-Wcast-align] 2439 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^ Compiling src/vidhrdw/cvs_vidhrdw.c... src/drivers/namcos22.c: In function 'init_cybrcomm': src/drivers/namcos22.c:2486:26: warning: cast increases required alignment of target type [-Wcast-align] 2486 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^ src/drivers/namcos22.c: In function 'init_cybrcyc': src/drivers/namcos22.c:2498:26: warning: cast increases required alignment of target type [-Wcast-align] 2498 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/lazercmd.c:223: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/snes_machine.c: In function 'snes_init_ram': src/machine/snes_machine.c:56:22: warning: cast increases required alignment of target type [-Wcast-align] 56 | snes_cgram = (UINT16 *)memory_region( REGION_USER1 ); | ^ src/machine/snes_machine.c:60:20: warning: cast increases required alignment of target type [-Wcast-align] 60 | snes_oam = (UINT16 *)memory_region( REGION_USER2 ); | ^ Compiling src/vidhrdw/s2636_vidhrdw.c... src/vidhrdw/snes_vidhrdw.c: In function 'snes_update_line_8': src/vidhrdw/snes_vidhrdw.c:1131:34: warning: variable 'pal' set but not used [-Wunused-but-set-variable] 1131 | UINT16 ii, vflip, hflip, pal; | ^~~ In file included from src/driver.h:64, from src/includes/namcos22.h:1, from src/drivers/namcos22.c:552: At top level: src/drivers/namcos22.c:602:25: warning: 'namcos22_C139_SCI_w' defined but not used [-Wunused-function] 602 | static WRITE32_HANDLER( namcos22_C139_SCI_w ) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:131:42: note: in definition of macro 'WRITE32_HANDLER' 131 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/machine/astrocde_machine.c... In file included from src/driver.h:64, from src/drivers/meadows.c:118: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/lazercmd_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/astrocde_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/meadows_sndhrdw.c:9: src/memory.h: In function 'cpu_readop16': At top level: src/machine/snes_machine.c:1129:12: warning: 'snes_validate_infoblock' defined but not used [-Wunused-function] 1129 | static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/meadows_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/astrocde.c... Compiling src/sndhrdw/astrocde_sndhrdw.c... Compiling src/sndhrdw/gorf.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/cvs_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/cvs.c:85: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/mcr.c... In file included from src/driver.h:64, from src/vidhrdw/s2636_vidhrdw.c:76: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/mcr_sndhrdw.c... In file included from src/driver.h:64, from src/machine/astrocde_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mcr12_vidhrdw.c... Compiling src/vidhrdw/mcr3_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/astrocde_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/astrocde.c:65: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mcr1.c... Compiling src/drivers/mcr2.c... In file included from src/driver.h:64, from src/sndhrdw/astrocde_sndhrdw.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/gorf.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/mcr.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mcr3.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mcr68_vidhrdw.c... Compiling src/drivers/mcr68.c... In file included from src/driver.h:64, from src/sndhrdw/mcr_sndhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/balsente_vidhrdw.c... Compiling src/machine/balsente_machine.c... In file included from src/driver.h:64, from src/vidhrdw/mcr12_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mcr1.c:78: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/balsente.c... In file included from src/driver.h:64, from src/vidhrdw/mcr3_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mcr2.c:81: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gridlee_vidhrdw.c... src/sndhrdw/snes_sndhrdw.c: In function 'fakespc_port_r': src/sndhrdw/snes_sndhrdw.c:586:28: warning: array subscript 4 is above array bounds of 'UINT8[4]' {aka 'unsigned char[4]'} [-Warray-bounds] 586 | return fakeapu_port[offset]; | ~~~~~~~~~~~~^~~~~~~~ src/sndhrdw/snes_sndhrdw.c:66:7: note: while referencing 'fakeapu_port' 66 | UINT8 fakeapu_port[4] = { 0xaa, 0xbb, 0x00, 0x00 }; | ^~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mcr3.c:89: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/sndhrdw/gridlee_sndhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/mcr68_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gridlee.c... Compiling src/drivers/seattle.c... In file included from src/driver.h:64, from src/vidhrdw/balsente_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mcr68.c:51: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/voodoo_vidhrdw.c... In file included from src/driver.h:64, from src/machine/balsente_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/exterm_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/balsente.c:145: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/exterm.c... In file included from src/driver.h:64, from src/vidhrdw/gridlee_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/midwayic.c... src/sndhrdw/astrocde_sndhrdw.c: In function 'wow_speech_r': src/sndhrdw/astrocde_sndhrdw.c:128:21: warning: variable 'Intonation' set but not used [-Wunused-but-set-variable] 128 | int Phoneme,Intonation; | ^~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/gridlee_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/dcs.c... In file included from src/driver.h:64, from src/drivers/gridlee.c:80: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/midyunit_machine.c... In file included from src/driver.h:64, from src/vidhrdw/voodoo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/midyunit_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/seattle.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/exterm_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/exterm.c:59: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/midyunit.c... Compiling src/drivers/midxunit.c... In file included from src/driver.h:64, from src/machine/midwayic.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/midwunit_machine.c... In file included from src/driver.h:64, from src/sndhrdw/dcs.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': Compiling src/drivers/midwunit.c... src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/midyunit_machine.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/midvunit_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/midyunit_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/midyunit.c:29: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/midvunit.c... Compiling src/machine/midtunit_machine.c... In file included from src/driver.h:64, from src/drivers/midxunit.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/midtunit_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/balsente_machine.c: In function 'balsente_chip_select_w': Compiling src/drivers/midtunit.c... src/machine/balsente_machine.c:1024:32: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 1024 | double temp = 0; | ^~~~ Compiling src/vidhrdw/skychut_vidhrdw.c... In file included from src/driver.h:64, from src/machine/midwunit_machine.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/midwunit.c:24: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/skychut.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/midvunit_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/olibochu.c... In file included from src/driver.h:64, from src/drivers/midvunit.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/irem.c... In file included from src/driver.h:64, from src/machine/midtunit_machine.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mpatrol_vidhrdw.c... src/drivers/seattle.c: In function 'cmos_w': src/drivers/seattle.c:221:31: warning: cast increases required alignment of target type [-Wcast-align] 221 | data32_t *cmos_base = (data32_t *)generic_nvram; | ^ src/drivers/seattle.c: In function 'cmos_r': src/drivers/seattle.c:228:31: warning: cast increases required alignment of target type [-Wcast-align] 228 | data32_t *cmos_base = (data32_t *)generic_nvram; | ^ Compiling src/drivers/mpatrol.c... In file included from src/driver.h:64, from src/vidhrdw/midtunit_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo2_regs_w': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1729:102: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1729 | logerror("CMDFIFO(%06X)=%f (min=%06X max=%06X d=%d h=%d)\n", addr, *(float *)&data, voodoo_regs[cmdFifoAMin], voodoo_regs[cmdFifoAMax], voodoo_regs[cmdFifoDepth], voodoo_regs[cmdFifoHoles]); | ^~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_regs_w': src/vidhrdw/voodoo_vidhrdw.c:1781:151: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1781 | logerror("%06X:voodoo %s(%d) write = %f\n", activecpu_get_pc(), (offset < 0x384/4) ? voodoo_reg_name[offset] : "oob", chips, *(float *)&data); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1898:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1898 | if (chips & 1) tri_va.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1901:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1901 | if (chips & 1) tri_va.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1904:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1904 | if (chips & 1) tri_vb.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1907:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1907 | if (chips & 1) tri_vb.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ In file included from src/driver.h:64, from src/drivers/midtunit.c:23: src/memory.h: In function 'cpu_readop16': src/vidhrdw/voodoo_vidhrdw.c:1910:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1910 | if (chips & 1) tri_vc.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1913:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1913 | if (chips & 1) tri_vc.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1918:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1918 | if (chips & 1) tri_startr = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1921:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1921 | if (chips & 1) tri_startg = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/vidhrdw/voodoo_vidhrdw.c:1924:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1924 | if (chips & 1) tri_startb = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1927:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1927 | if (chips & 1) tri_starta = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1930:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1930 | if (chips & 1) tri_startz = (INT32)(*(float *)&data * 4096.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1933:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1933 | if (chips & 1) tri_startw = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1934:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1934 | if (chips & 2) tri_startw0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1935:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1935 | if (chips & 4) tri_startw1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1938:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1938 | if (chips & 2) tri_starts0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1939:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1939 | if (chips & 4) tri_starts1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1942:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1942 | if (chips & 2) tri_startt0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1943:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1943 | if (chips & 4) tri_startt1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1948:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1948 | if (chips & 1) tri_drdx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1951:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1951 | if (chips & 1) tri_dgdx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1954:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1954 | if (chips & 1) tri_dbdx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1957:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1957 | if (chips & 1) tri_dadx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1960:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1960 | if (chips & 1) tri_dzdx = (INT32)(*(float *)&data * 4096.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1963:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1963 | if (chips & 1) tri_dwdx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1964:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1964 | if (chips & 2) tri_dw0dx = *(float *)&data; | ^~~~~~~~~~~~~~ Compiling src/vidhrdw/troangel_vidhrdw.c... src/vidhrdw/voodoo_vidhrdw.c:1965:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1965 | if (chips & 4) tri_dw1dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1968:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1968 | if (chips & 2) tri_ds0dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1969:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1969 | if (chips & 4) tri_ds1dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1972:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1972 | if (chips & 2) tri_dt0dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1973:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1973 | if (chips & 4) tri_dt1dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1978:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1978 | if (chips & 1) tri_drdy = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1981:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1981 | if (chips & 1) tri_dgdy = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1984:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1984 | if (chips & 1) tri_dbdy = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1987:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1987 | if (chips & 1) tri_dady = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1990:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1990 | if (chips & 1) tri_dzdy = (INT32)(*(float *)&data * 4096.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1993:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1993 | if (chips & 1) tri_dwdy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1994:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1994 | if (chips & 2) tri_dw0dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1995:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1995 | if (chips & 4) tri_dw1dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1998:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1998 | if (chips & 2) tri_ds0dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1999:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1999 | if (chips & 4) tri_ds1dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2002:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2002 | if (chips & 2) tri_dt0dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2003:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2003 | if (chips & 4) tri_dt1dy = *(float *)&data; | ^~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/skychut.c:20: src/memory.h: In function 'cpu_readop16': src/vidhrdw/voodoo_vidhrdw.c:2008:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2008 | setup_pending.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:2011:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2011 | setup_pending.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:2020:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2020 | setup_pending.wb = *(float *)&data; | ^~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2023:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023 | setup_pending.w0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2026:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2026 | setup_pending.s0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2029:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2029 | setup_pending.t0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2032:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2032 | setup_pending.w1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2035:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2035 | setup_pending.s1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2038:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2038 | setup_pending.t1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2041:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2041 | setup_pending.a = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2044:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2044 | setup_pending.r = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2047:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2047 | setup_pending.g = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2050:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2050 | setup_pending.b = *(float *)&data; | ^~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/skychut_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_textureram_w': src/vidhrdw/voodoo_vidhrdw.c:2969:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2969 | if (s == 0 && t == 0) | ^~ src/vidhrdw/voodoo_vidhrdw.c:2971:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2971 | while (lod != 0) | ^~~~~ src/vidhrdw/voodoo_vidhrdw.c:3006:32: warning: cast increases required alignment of target type [-Wcast-align] 3006 | UINT16 *dest = (UINT16 *)textureram[trex]; | ^ Compiling src/drivers/troangel.c... In file included from src/driver.h:64, from src/drivers/olibochu.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3323: src/vidhrdw/voodblit.c: In function 'render_0c000035_00045119_000b4779_0824101f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ In file included from src/driver.h:64, from src/sndhrdw/irem.c:1: src/memory.h: In function 'cpu_readop16': src/sndhrdw/dcs.c: In function 'dcs_boot': src/sndhrdw/dcs.c:331:25: warning: cast increases required alignment of target type [-Wcast-align] 331 | data32_t *dst = (data32_t *)(memory_region(REGION_CPU1 + dcs_cpunum) + ADSP2100_PGM_OFFSET); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/sndhrdw/dcs.c: In function 'dcs2_init': src/sndhrdw/dcs.c:449:26: warning: cast increases required alignment of target type [-Wcast-align] 449 | dcs_sram_bank1 = (UINT16 *)(memory_region(REGION_CPU1 + dcs_cpunum) + 0x8000); | ^ src/sndhrdw/dcs.c:453:28: warning: cast increases required alignment of target type [-Wcast-align] 453 | dcs_expanded_rom = (UINT16 *)(memory_region(REGION_CPU1 + dcs_cpunum) + 0xc000); | ^ Compiling src/vidhrdw/yard_vidhrdw.c... src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ In file included from src/driver.h:64, from src/vidhrdw/mpatrol_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c: In function 'term2_speedup_r': src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:454:39: note: in expansion of macro 'READ_INT32' 454 | a8 = READ_INT32(a1+0x1c0); /* MOVE *A1(1C0h),A8,1 */ | ^~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:455:39: note: in expansion of macro 'READ_INT32' 455 | a7 = READ_INT32(a1+0x1a0); /* MOVE *A1(1A0h),A7,1 */ | ^~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/dcs.c: In function 'dcs_irq': src/sndhrdw/dcs.c:1071:74: warning: cast increases required alignment of target type [-Wcast-align] 1071 | dcs.buffer[dcs.buffer_in++ & DCS_BUFFER_MASK] = ((UINT16 *)&dcs.mem[source])[i]; | ^ src/sndhrdw/dcs.c:1077:72: warning: cast increases required alignment of target type [-Wcast-align] 1077 | dcs.buffer[dcs.buffer_in & DCS_BUFFER_MASK] = ((UINT16 *)&dcs.mem[source])[i]; | ^ src/sndhrdw/dcs.c:1078:73: warning: cast increases required alignment of target type [-Wcast-align] 1078 | dcs.buffer2[dcs.buffer_in & DCS_BUFFER_MASK] = ((UINT16 *)&dcs.mem[source])[i + dcs.incs]; | ^ Compiling src/drivers/yard.c... src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:392:15: note: in expansion of macro 'READ_INT32' 392 | a5x = READ_INT32(a5x+0xa0); /* MOVE *A5(A0h),A5,1 */ \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:468:33: note: in expansion of macro 'T2_FFC08C40' 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:393:15: note: in expansion of macro 'READ_INT32' 393 | a3x = READ_INT32(a3x+0xa0); /* MOVE *A3(A0h),A3,1 */ \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:468:33: note: in expansion of macro 'T2_FFC08C40' 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:394:15: note: in expansion of macro 'READ_INT32' 394 | a6x = READ_INT32(a1+0x140); /* MOVE *A1(140h),A6,1*/ \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:468:33: note: in expansion of macro 'T2_FFC08C40' 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:397:9: note: in expansion of macro 'WRITE_INT32' 397 | WRITE_INT32(a1+0x140, a6xa7x & 0xffffffff); /* MOVE A6,*A1(140h),1*/ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:468:33: note: in expansion of macro 'T2_FFC08C40' 468 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/sndhrdw/dcs.c: In function 'dcs_speedup_common': src/sndhrdw/dcs.c:1305:25: warning: cast increases required alignment of target type [-Wcast-align] 1305 | INT16 *source = (INT16 *)memory_region(REGION_CPU1 + dcs_cpunum); | ^ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:469:39: note: in expansion of macro 'READ_INT32' 469 | a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:470:33: note: in expansion of macro 'WRITE_INT32' 470 | WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:471:33: note: in expansion of macro 'WRITE_INT32' 471 | WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:473:33: note: in expansion of macro 'WRITE_INT32' 473 | WRITE_INT32(a1+0x20, a14); /* MOVE A14,*A1(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:474:38: note: in expansion of macro 'READ_INT32' 474 | a9 = READ_INT32(a14); /* MOVE *A14,A9,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:475:33: note: in expansion of macro 'WRITE_INT32' 475 | WRITE_INT32(a14, a1); /* MOVE A1,*A14,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:476:33: note: in expansion of macro 'WRITE_INT32' 476 | WRITE_INT32(a9+0x20, a1); /* MOVE A1,*A9(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:477:33: note: in expansion of macro 'WRITE_INT32' 477 | WRITE_INT32(a1, a9); /* MOVE A9,*A1,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:392:15: note: in expansion of macro 'READ_INT32' 392 | a5x = READ_INT32(a5x+0xa0); /* MOVE *A5(A0h),A5,1 */ \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:487:33: note: in expansion of macro 'T2_FFC08C40' 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:393:15: note: in expansion of macro 'READ_INT32' 393 | a3x = READ_INT32(a3x+0xa0); /* MOVE *A3(A0h),A3,1 */ \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:487:33: note: in expansion of macro 'T2_FFC08C40' 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:394:15: note: in expansion of macro 'READ_INT32' 394 | a6x = READ_INT32(a1+0x140); /* MOVE *A1(140h),A6,1*/ \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:487:33: note: in expansion of macro 'T2_FFC08C40' 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:397:9: note: in expansion of macro 'WRITE_INT32' 397 | WRITE_INT32(a1+0x140, a6xa7x & 0xffffffff); /* MOVE A6,*A1(140h),1*/ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:487:33: note: in expansion of macro 'T2_FFC08C40' 487 | T2_FFC08C40 /* CALLR FFC08C40h */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:488:39: note: in expansion of macro 'READ_INT32' 488 | a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:489:33: note: in expansion of macro 'WRITE_INT32' 489 | WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:490:33: note: in expansion of macro 'WRITE_INT32' 490 | WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ | ^~~~~~~~~~~ Compiling src/vidhrdw/travrusa_vidhrdw.c... src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:492:38: note: in expansion of macro 'READ_INT32' 492 | a9 = READ_INT32(a14+0x20); /* MOVE *A14(20h),A9,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:493:33: note: in expansion of macro 'WRITE_INT32' 493 | WRITE_INT32(a1, a14); /* MOVE A14,*A1,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:494:33: note: in expansion of macro 'WRITE_INT32' 494 | WRITE_INT32(a14+0x20, a1); /* MOVE A1,*A14(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:495:33: note: in expansion of macro 'WRITE_INT32' 495 | WRITE_INT32(a9, a1); /* MOVE A1,*A9,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:496:33: note: in expansion of macro 'WRITE_INT32' 496 | WRITE_INT32(a1+0x20, a9); /* MOVE A9,*A1(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:517:39: note: in expansion of macro 'READ_INT32' 517 | a14 = READ_INT32(a0+0x20); /* MOVE *A0(20h),A14,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:518:33: note: in expansion of macro 'WRITE_INT32' 518 | WRITE_INT32(a14, a1); /* MOVE A1,*A14,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:519:33: note: in expansion of macro 'WRITE_INT32' 519 | WRITE_INT32(a1+0x20, a14); /* MOVE A14,*A1(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:520:39: note: in expansion of macro 'READ_INT32' 520 | a14 = READ_INT32(a1); /* MOVE *A1,A14,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:521:33: note: in expansion of macro 'WRITE_INT32' 521 | WRITE_INT32(a0, a14); /* MOVE A14,*A0,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:522:33: note: in expansion of macro 'WRITE_INT32' 522 | WRITE_INT32(a1, a0); /* MOVE A0,*A1,1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:523:33: note: in expansion of macro 'WRITE_INT32' 523 | WRITE_INT32(a0 +0x20, a1); /* MOVE A1,*A0(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:524:33: note: in expansion of macro 'WRITE_INT32' 524 | WRITE_INT32(a14+0x20, a0); /* MOVE A0,*A14(20h),1 */ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:533:38: note: in expansion of macro 'READ_INT32' 533 | a1 = READ_INT32(a0); /* MOVE *A0,A1,1 */ | ^~~~~~~~~~ src/machine/midyunit_machine.c: In function 'midyunit_generic_speedup_1_16bit': src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:330:22: note: in expansion of macro 'READ_INT32' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:347:25: note: in expansion of macro 'WRITE_INT32' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:348:41: note: in expansion of macro 'READ_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mpatrol.c:38: src/memory.h: In function 'cpu_readop16': src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:349:25: note: in expansion of macro 'WRITE_INT32' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:363:17: note: in expansion of macro 'WRITE_INT32' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:364:33: note: in expansion of macro 'READ_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:365:17: note: in expansion of macro 'WRITE_INT32' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:578:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 578 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT16); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c: In function 'midyunit_generic_speedup_1_mixedbits': src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:330:22: note: in expansion of macro 'READ_INT32' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3329: src/vidhrdw/voodblit.c: In function 'render_0c000035_00045119_000b4779_0824109f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:333:28: note: in expansion of macro 'READ_INT32' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/travrusa.c... src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:347:25: note: in expansion of macro 'WRITE_INT32' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/troangel_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:348:41: note: in expansion of macro 'READ_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/memory.h: In function 'cpu_readop_arg16': src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:349:25: note: in expansion of macro 'WRITE_INT32' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ In file included from src/driver.h:64, from src/drivers/troangel.c:8: src/memory.h: In function 'cpu_readop16': src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:363:17: note: in expansion of macro 'WRITE_INT32' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:364:33: note: in expansion of macro 'READ_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:365:17: note: in expansion of macro 'WRITE_INT32' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:603:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 603 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT16, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c: In function 'midyunit_generic_speedup_1_32bit': src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:330:22: note: in expansion of macro 'READ_INT32' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:332:28: note: in expansion of macro 'READ_INT32' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:333:28: note: in expansion of macro 'READ_INT32' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:347:25: note: in expansion of macro 'WRITE_INT32' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:348:41: note: in expansion of macro 'READ_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/wilytowr.c... src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:349:25: note: in expansion of macro 'WRITE_INT32' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/vidhrdw/midvunit_vidhrdw.c: In function 'midvunit_dma_queue_w': src/vidhrdw/midvunit_vidhrdw.c:1026:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1026 | if (keyboard_pressed(KEYCODE_L)) | ^~ src/vidhrdw/midvunit_vidhrdw.c:1028:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1028 | if (dma_data_index < 16) | ^~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:363:17: note: in expansion of macro 'WRITE_INT32' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:364:33: note: in expansion of macro 'READ_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/yard_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:365:17: note: in expansion of macro 'WRITE_INT32' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:563:9: note: in expansion of macro 'DO_SPEEDUP_LOOP' 563 | DO_SPEEDUP_LOOP(A, LOC, OFFS1, OFFS2, A8SIZE, A7SIZE); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:628:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_1' 628 | DO_SPEEDUP_LOOP_1(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2], INT32, INT32); | ^~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c: In function 'midyunit_generic_speedup_3': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:647:25: note: in expansion of macro 'READ_INT32' 647 | temp1 = READ_INT32(LOC1); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:648:25: note: in expansion of macro 'READ_INT32' 648 | temp2 = READ_INT32(LOC2); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:649:25: note: in expansion of macro 'READ_INT32' 649 | temp3 = READ_INT32(LOC3); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:330:22: note: in expansion of macro 'READ_INT32' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:332:28: note: in expansion of macro 'READ_INT32' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:333:28: note: in expansion of macro 'READ_INT32' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:347:25: note: in expansion of macro 'WRITE_INT32' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:348:41: note: in expansion of macro 'READ_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:349:25: note: in expansion of macro 'WRITE_INT32' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:363:17: note: in expansion of macro 'WRITE_INT32' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/drivers/midvunit.c: In function 'midvunit_cmos_w': src/drivers/midvunit.c:183:34: warning: cast increases required alignment of target type [-Wcast-align] 183 | data32_t *cmos = (data32_t *)generic_nvram; | ^ src/drivers/midvunit.c: In function 'midvunit_cmos_r': src/drivers/midvunit.c:191:26: warning: cast increases required alignment of target type [-Wcast-align] 191 | data32_t *cmos = (data32_t *)generic_nvram; | ^ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:364:33: note: in expansion of macro 'READ_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:365:17: note: in expansion of macro 'WRITE_INT32' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:655:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 655 | DO_SPEEDUP_LOOP(A, LOC1, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midwunit_machine.c: In function 'midwunit_cmos_w': src/machine/midwunit_machine.c:80:32: warning: cast increases required alignment of target type [-Wcast-align] 80 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^ src/memory.h:872:44: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midwunit_machine.c:80:32: warning: cast increases required alignment of target type [-Wcast-align] 80 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^ src/memory.h:872:57: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:330:22: note: in expansion of macro 'READ_INT32' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/drivers/midvunit.c: In function 'bit_data_r': src/drivers/midvunit.c:356:31: warning: cast increases required alignment of target type [-Wcast-align] 356 | data32_t *cmos_base = (data32_t *)generic_nvram; | ^ src/machine/midwunit_machine.c: In function 'midxunit_cmos_w': src/machine/midwunit_machine.c:93:24: warning: cast increases required alignment of target type [-Wcast-align] 93 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^ src/memory.h:872:44: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midwunit_machine.c:93:24: warning: cast increases required alignment of target type [-Wcast-align] 93 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^ src/memory.h:872:57: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:332:28: note: in expansion of macro 'READ_INT32' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midwunit_machine.c: In function 'midwunit_cmos_r': src/machine/midwunit_machine.c:99:17: warning: cast increases required alignment of target type [-Wcast-align] 99 | return ((data16_t *)generic_nvram)[offset]; | ^ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:333:28: note: in expansion of macro 'READ_INT32' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:347:25: note: in expansion of macro 'WRITE_INT32' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:348:41: note: in expansion of macro 'READ_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:349:25: note: in expansion of macro 'WRITE_INT32' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:363:17: note: in expansion of macro 'WRITE_INT32' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:364:33: note: in expansion of macro 'READ_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:365:17: note: in expansion of macro 'WRITE_INT32' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:656:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 656 | DO_SPEEDUP_LOOP(B, LOC2, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/m62_vidhrdw.c... src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:330:22: note: in expansion of macro 'READ_INT32' 330 | while ((a2 = READ_INT32(a0)) != 0 && tms34010_ICount > 0) \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:332:28: note: in expansion of macro 'READ_INT32' 332 | INT32 a8 = READ_##A8SIZE(a2 + OFFS1); \ | ^~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:276:34: note: in definition of macro 'BIG_DWORD_LE' 276 | #define BIG_DWORD_LE(x) (x) | ^ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:333:28: note: in expansion of macro 'READ_INT32' 333 | INT32 a7 = READ_##A7SIZE(a2 + OFFS2); \ | ^~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:347:25: note: in expansion of macro 'WRITE_INT32' 347 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:348:25: note: in expansion of macro 'WRITE_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:348:41: note: in expansion of macro 'READ_INT32' 348 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:349:25: note: in expansion of macro 'WRITE_INT32' 349 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:363:17: note: in expansion of macro 'WRITE_INT32' 363 | WRITE_INT32(a4, a2); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:294:34: warning: cast increases required alignment of target type [-Wcast-align] 294 | #define READ_U32(a) (*(INT32 *)a) | ^ src/machine/midyunit_machine.c:295:48: note: in definition of macro 'WRITE_U32' 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:61: note: in expansion of macro 'BIG_DWORD_LE' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:364:17: note: in expansion of macro 'WRITE_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:314:41: note: in expansion of macro 'BIG_DWORD_LE' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~~~~~ src/machine/midyunit_machine.c:314:54: note: in expansion of macro 'READ_U32' 314 | #define READ_INT32(REG) BIG_DWORD_LE(READ_U32(SCRATCH_RAM(REG))) | ^~~~~~~~ src/machine/midyunit_machine.c:364:33: note: in expansion of macro 'READ_INT32' 364 | WRITE_INT32(a0, READ_INT32(a2)); \ | ^~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:295:34: warning: cast increases required alignment of target type [-Wcast-align] 295 | #define WRITE_U32(a,x) (*(INT32 *)a = (x)) | ^ src/machine/midyunit_machine.c:318:33: note: in expansion of macro 'WRITE_U32' 318 | #define WRITE_INT32(REG,DATA) WRITE_U32(SCRATCH_RAM(REG), BIG_DWORD_LE(DATA)) | ^~~~~~~~~ src/machine/midyunit_machine.c:365:17: note: in expansion of macro 'WRITE_INT32' 365 | WRITE_INT32(a2, a0); \ | ^~~~~~~~~~~ src/machine/midyunit_machine.c:657:17: note: in expansion of macro 'DO_SPEEDUP_LOOP' 657 | DO_SPEEDUP_LOOP(C, LOC3, 0xc0, 0xa0, INT32, INT32); \ | ^~~~~~~~~~~~~~~ src/machine/midyunit_machine.c:671:17: note: in expansion of macro 'DO_SPEEDUP_LOOP_3' 671 | DO_SPEEDUP_LOOP_3(midyunit_speedup_spin[0], midyunit_speedup_spin[1], midyunit_speedup_spin[2]); | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/yard.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3335: src/vidhrdw/voodblit.c: In function 'render_0c000035_00045119_000b4779_082410df': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ Compiling src/drivers/m62.c... src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ In file included from src/driver.h:64, from src/vidhrdw/travrusa_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/midtunit_machine.c: In function 'midtunit_cmos_w': src/machine/midtunit_machine.c:74:32: warning: cast increases required alignment of target type [-Wcast-align] 74 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^ src/memory.h:872:44: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midtunit_machine.c:74:32: warning: cast increases required alignment of target type [-Wcast-align] 74 | COMBINE_DATA(&((data16_t *)generic_nvram)[offset]); | ^ src/memory.h:872:57: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/machine/midtunit_machine.c: In function 'midtunit_cmos_r': src/machine/midtunit_machine.c:89:17: warning: cast increases required alignment of target type [-Wcast-align] 89 | return ((data16_t *)generic_nvram)[offset]; | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/travrusa.c:50: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vigilant_vidhrdw.c... src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3341: src/vidhrdw/voodblit.c: In function 'render_0c000035_00045119_000b4779_082418df': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0p1': Compiling src/drivers/vigilant.c... src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/wilytowr.c:23: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/m62_vidhrdw.c:16: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0_xf': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3376: src/vidhrdw/voodblit.c: In function 'render_0c600c09_00045119_000b4779_0824100f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:590:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 590 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/m72_vidhrdw.c... src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/m62.c:55: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3382: src/vidhrdw/voodblit.c: In function 'render_0c600c09_00045119_000b4779_0824180f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/m72_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/vigilant_vidhrdw.c:17: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c1_xf': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0p1_xf': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 591 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/vigilant.c:10: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/m72.c... src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/vsnes.c:128: At top level: src/inptport.h:187:43: warning: 'input_ports_vsnes' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/vsnes.c:524:1: note: in expansion of macro 'INPUT_PORTS_START' 524 | INPUT_PORTS_START( vsnes ) | ^~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3388: src/vidhrdw/voodblit.c: In function 'render_0c600c09_00045119_000b4779_082418cf': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p0p1': src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/drivers/midvunit.c:21: At top level: src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/driver.h:19:46: warning: 'init_crusnw13' defined but not used [-Wunused-function] 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~ src/drivers/midvunit.c:1396:8: note: in expansion of macro 'DRIVER_INIT' 1396 | static DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); } | ^~~~~~~~~~~ Compiling src/vidhrdw/shisen_vidhrdw.c... src/driver.h:19:46: warning: 'init_crusnw20' defined but not used [-Wunused-function] 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~ src/drivers/midvunit.c:1395:8: note: in expansion of macro 'DRIVER_INIT' 1395 | static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); } | ^~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/midvunit.c:21: src/drivers/midvunit.c:324:25: warning: 'crusnwld_serial_data_w' defined but not used [-Wunused-function] 324 | static WRITE32_HANDLER( crusnwld_serial_data_w ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:42: note: in definition of macro 'WRITE32_HANDLER' 131 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/midvunit.c:318:24: warning: 'crusnwld_serial_data_r' defined but not used [-Wunused-function] 318 | static READ32_HANDLER( crusnwld_serial_data_r ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/midvunit.c:311:24: warning: 'crusnwld_serial_status_r' defined but not used [-Wunused-function] 311 | static READ32_HANDLER( crusnwld_serial_status_r ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c0p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/m72_sndhrdw.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/m72_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p0_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c0_xf': Compiling src/drivers/shisen.c... src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3399: src/vidhrdw/voodblit.c: In function 'render_0c480035_00045119_000b4779_082418df': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p0p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/m72.c:72: src/memory.h: In function 'cpu_readop16': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_c0p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_noscale_p0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 592 | DECLARE_BLITTER_SET(dma_draw_skip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/shisen_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/machine/irem_cpu.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p0': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:550:1: note: in expansion of macro 'DMA_DRAW_FUNC' 550 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC' 551 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c0': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC' 552 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC' 553 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p0p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3405: src/vidhrdw/voodblit.c: In function 'render_0c480035_00045119_000b4379_082418df': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC' 554 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c0c1': src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC' 555 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c0p1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC' 556 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p0c1': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC' 557 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p0_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/m90_vidhrdw.c... src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:559:1: note: in expansion of macro 'DMA_DRAW_FUNC' 559 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC' 560 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c0_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC' 561 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/m90.c... src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC' 562 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p0p1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC' 563 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC' 564 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_c0p1_xf': Compiling src/vidhrdw/m92_vidhrdw.c... src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC' 565 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_noscale_p0c1_xf': src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:391:39: note: in expansion of macro 'EXTRACTGEN' 391 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:440:58: note: in expansion of macro 'EXTRACTGEN' 440 | d[sx] = (extractor(mask)) | pal; \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:446:54: note: in expansion of macro 'EXTRACTGEN' 446 | int pixel = (extractor(mask)); \ | ^~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:357:28: warning: cast increases required alignment of target type [-Wcast-align] 357 | #define EXTRACTGEN(m) ((*(UINT16 *)&base[o >> 3] >> (o & 7)) & (m)) | ^ src/vidhrdw/midtunit_vidhrdw.c:522:55: note: in expansion of macro 'EXTRACTGEN' 522 | UINT8 value = EXTRACTGEN(0xff); \ | ^~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:540:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY' 540 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \ | ^~~~~~~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC' 566 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \ | ^~~~~~~~~~~~~ src/vidhrdw/midtunit_vidhrdw.c:593:1: note: in expansion of macro 'DECLARE_BLITTER_SET' 593 | DECLARE_BLITTER_SET(dma_draw_noskip_noscale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_NO) | ^~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3451: src/vidhrdw/voodblit.c: In function 'render_0c000035_00040400_000b4739_0c26180f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ In file included from src/driver.h:64, from src/drivers/shisen.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ In file included from src/driver.h:64, from src/machine/irem_cpu.c:38: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/m92.c... In file included from src/driver.h:64, from src/vidhrdw/m90_vidhrdw.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3465: src/vidhrdw/voodblit.c: In function 'render_0c582c35_00515110_000b4739_0c26180f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ In file included from src/driver.h:64, from src/drivers/m90.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ Compiling src/vidhrdw/m107_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/m92_vidhrdw.c:42: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3479: src/vidhrdw/voodblit.c: In function 'render_0c000035_64040409_000b4739_0c26180f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ In file included from src/driver.h:64, from src/drivers/m92.c:101: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/m107.c... Compiling src/vidhrdw/gottlieb_vidhrdw.c... In file included from src/vidhrdw/voodoo_vidhrdw.c:3493: src/vidhrdw/voodblit.c: In function 'render_0c002c35_64515119_000b4799_0c26180f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ In file included from src/driver.h:64, from src/vidhrdw/m107_vidhrdw.c:37: src/memory.h: In function 'cpu_readop16': src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ Compiling src/sndhrdw/gottlieb_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/m107.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3507: src/vidhrdw/voodblit.c: In function 'render_0c582c35_00515110_000b4739_0c2618cf': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ Compiling src/drivers/gottlieb.c... In file included from src/driver.h:64, from src/vidhrdw/gottlieb_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3521: src/vidhrdw/voodblit.c: In function 'render_0c002c35_40515119_000b4739_0c26180f': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ Compiling src/drivers/sbowling.c... Compiling src/machine/chaknpop_machine.c... In file included from src/driver.h:64, from src/sndhrdw/gottlieb_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/chaknpop_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gottlieb.c:149: src/memory.h: In function 'cpu_readop16': In file included from src/vidhrdw/voodoo_vidhrdw.c:3657: src/vidhrdw/voodblit.c: In function 'generic_render_1tmu': src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ Compiling src/drivers/chaknpop.c... src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ In file included from src/driver.h:64, from src/drivers/sbowling.c:40: src/memory.h: In function 'cpu_readop16': Compiling src/machine/qix_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/voodoo_vidhrdw.c:3664: src/vidhrdw/voodblit.c: In function 'generic_render_2tmu': src/vidhrdw/voodblit.c:436:75: warning: cast increases required alignment of target type [-Wcast-align] 436 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ src/vidhrdw/voodblit.c:513:75: warning: cast increases required alignment of target type [-Wcast-align] 513 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:528:83: warning: cast increases required alignment of target type [-Wcast-align] 528 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:544:83: warning: cast increases required alignment of target type [-Wcast-align] 544 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:560:83: warning: cast increases required alignment of target type [-Wcast-align] 560 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ Compiling src/vidhrdw/qix_vidhrdw.c... src/vidhrdw/voodblit.c:792:67: warning: cast increases required alignment of target type [-Wcast-align] 792 | texel = *((UINT16 *)texturebase + (t << lodshift) + s); | ^ In file included from src/driver.h:64, from src/machine/chaknpop_machine.c:6: src/memory.h: In function 'cpu_readop16': src/vidhrdw/voodblit.c:869:67: warning: cast increases required alignment of target type [-Wcast-align] 869 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:884:75: warning: cast increases required alignment of target type [-Wcast-align] 884 | texel = *((UINT16 *)texturebase + (tt0 << lodshift) + ts1); | ^ src/vidhrdw/voodblit.c:900:75: warning: cast increases required alignment of target type [-Wcast-align] 900 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts0); | ^ src/vidhrdw/voodblit.c:916:75: warning: cast increases required alignment of target type [-Wcast-align] 916 | texel = *((UINT16 *)texturebase + (tt1 << lodshift) + ts1); | ^ Compiling src/drivers/qix.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/chaknpop_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/taitosj_machine.c... In file included from src/driver.h:64, from src/drivers/chaknpop.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/taitosj_vidhrdw.c... In file included from src/driver.h:64, from src/machine/qix_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/qix_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/gottlieb_sndhrdw.c: In function 'gottlieb_speech_w': src/sndhrdw/gottlieb_sndhrdw.c:120:20: warning: variable 'queue' set but not used [-Wunused-but-set-variable] 120 | static int queue[100],pos; | ^~~~~ Compiling src/drivers/taitosj.c... In file included from src/driver.h:64, from src/drivers/qix.c:194: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/grchamp_machine.c... In file included from src/driver.h:64, from src/machine/taitosj_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/grchamp_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/taitosj_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/taitosj.c:125: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/drivers/sbowling.c:43: At top level: src/memory.h: In function 'cpu_readop_arg32': src/vidhrdw/res_net.h:76:15: warning: 'compute_resistor_weights' defined but not used [-Wunused-function] 76 | static double compute_resistor_weights( | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/grchamp.c... In file included from src/driver.h:64, from src/machine/grchamp_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: src/drivers/m72.c:136:12: warning: 'find_sample' defined but not used [-Wunused-function] 136 | static int find_sample(int num) | ^~~~~~~~~~~ Compiling src/machine/pitnrun_machine.c... In file included from src/driver.h:64, from src/vidhrdw/grchamp_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pitnrun_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/grchamp.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pitnrun.c... In file included from src/driver.h:64, from src/machine/pitnrun_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/marinedt.c... In file included from src/driver.h:64, from src/vidhrdw/pitnrun_vidhrdw.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/crbaloon_vidhrdw.c... Compiling src/drivers/crbaloon.c... Compiling src/vidhrdw/bking2_vidhrdw.c... Compiling src/drivers/bking2.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/drivers/marinedt.c:95: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/pitnrun.c:66: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/crbaloon_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gsword_vidhrdw.c... Compiling src/drivers/gsword.c... In file included from src/driver.h:64, from src/drivers/crbaloon.c:52: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/bking2_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/tait8741.c... In file included from src/driver.h:64, from src/drivers/bking2.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/msisaac_vidhrdw.c... Compiling src/drivers/msisaac.c... In file included from src/driver.h:64, from src/vidhrdw/gsword_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/retofinv_machine.c... In file included from src/driver.h:64, from src/drivers/gsword.c:137: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/retofinv_vidhrdw.c... In file included from src/driver.h:64, from src/machine/tait8741.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/retofinv.c... Compiling src/vidhrdw/rollrace_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/msisaac_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rollrace.c... Compiling src/vidhrdw/40love_vidhrdw.c... In file included from src/driver.h:64, from src/machine/retofinv_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/40love.c... In file included from src/driver.h:64, from src/drivers/msisaac.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ssrj_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/retofinv_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ssrj.c... In file included from src/driver.h:64, from src/drivers/retofinv.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/rollrace.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/machine/bigevglf_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/rollrace_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bigevglf_vidhrdw.c... Compiling src/drivers/bigevglf.c... In file included from src/driver.h:64, from src/vidhrdw/40love_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/ssrj_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/40love.c:220: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tsamurai_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ssrj.c:32: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/bigevglf_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tsamurai.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/flstory_machine.c... In file included from src/driver.h:64, from src/vidhrdw/bigevglf_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/flstory_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/bigevglf.c:58: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/flstory.c... Compiling src/vidhrdw/gladiatr_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/tsamurai_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gladiatr.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/flstory_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/flstory_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/tsamurai.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/flstory.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/nycaptor_machine.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nycaptor_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/msisaac.c:10: At top level: src/drivers/msisaac.c:352:28: warning: 'mcu_writemem' defined but not used [-Wunused-const-variable=] 352 | static MEMORY_WRITE_START( mcu_writemem ) | ^~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/msisaac.c:352:8: note: in expansion of macro 'MEMORY_WRITE_START' 352 | static MEMORY_WRITE_START( mcu_writemem ) | ^~~~~~~~~~~~~~~~~~ src/drivers/msisaac.c:344:27: warning: 'mcu_readmem' defined but not used [-Wunused-const-variable=] 344 | static MEMORY_READ_START( mcu_readmem ) | ^~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/msisaac.c:344:8: note: in expansion of macro 'MEMORY_READ_START' 344 | static MEMORY_READ_START( mcu_readmem ) | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/nycaptor.c... In file included from src/driver.h:64, from src/vidhrdw/gladiatr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/halleys.c... Compiling src/machine/lsasquad_machine.c... In file included from src/driver.h:64, from src/drivers/gladiatr.c:101: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/nycaptor_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/nycaptor_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/lsasquad_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/nycaptor.c:148: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/lsasquad.c... In file included from src/driver.h:64, from src/drivers/halleys.c:160: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/lsasquad_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/bublbobl_machine.c... In file included from src/driver.h:64, from src/vidhrdw/lsasquad_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/lsasquad.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bublbobl_vidhrdw.c... Compiling src/drivers/bublbobl.c... Compiling src/drivers/missb2.c... In file included from src/driver.h:64, from src/machine/bublbobl_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/mexico86_machine.c... Compiling src/vidhrdw/mexico86_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/bublbobl.c:135: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/mexico86.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/missb2.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c: In function 'blit': Compiling src/vidhrdw/darius_vidhrdw.c... src/drivers/halleys.c:863:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 863 | if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:863:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 863 | if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:864:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 864 | if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:864:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 864 | if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ In file included from src/driver.h:64, from src/vidhrdw/bublbobl_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:865:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 865 | if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:865:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 865 | if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:866:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 866 | if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:866:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 866 | if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ In file included from src/driver.h:64, from src/machine/mexico86_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:867:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 867 | if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:867:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 867 | if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:868:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 868 | if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:868:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 868 | if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:869:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 869 | if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:869:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 869 | if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:886:40: warning: cast increases required alignment of target type [-Wcast-align] 886 | while (ecx) { *(DWORD*)(dst_ptr+ecx) = eax; ecx += 2; } } | ^ src/drivers/halleys.c:923:41: note: in expansion of macro 'WARP_LINE_COMMON' 923 | WARP_LINE_COMMON | ^~~~~~~~~~~~~~~~ src/drivers/halleys.c:886:40: warning: cast increases required alignment of target type [-Wcast-align] 886 | while (ecx) { *(DWORD*)(dst_ptr+ecx) = eax; ecx += 2; } } | ^ src/drivers/halleys.c:928:33: note: in expansion of macro 'WARP_LINE_COMMON' 928 | WARP_LINE_COMMON | ^~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/darius.c... src/drivers/halleys.c: In function 'copy_fixed_xp': src/drivers/halleys.c:1337:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1337 | if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; | ^~ src/drivers/halleys.c:1337:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1337 | if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; | ^~ src/drivers/halleys.c:1338:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1338 | if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; | ^~ src/drivers/halleys.c:1338:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1338 | if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; | ^~ src/drivers/halleys.c:1339:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1339 | if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; | ^~ src/drivers/halleys.c:1339:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1339 | if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; | ^~ src/drivers/halleys.c:1340:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1340 | if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; | ^~ src/drivers/halleys.c:1340:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1340 | if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; | ^~ In file included from src/driver.h:64, from src/vidhrdw/mexico86_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/drivers/halleys.c:1341:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1341 | if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; | ^~ src/drivers/halleys.c:1341:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1341 | if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; | ^~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rastan_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/drivers/halleys.c:1342:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1342 | if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; | ^~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:1342:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1342 | if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; | ^~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c: In function 'copy_fixed_2b': src/drivers/halleys.c:1420:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1420 | if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; | ^~ src/drivers/halleys.c:1420:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1420 | if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; | ^~ src/drivers/halleys.c:1422:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1422 | if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; | ^~ src/drivers/halleys.c:1422:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1422 | if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; | ^~ src/drivers/halleys.c:1425:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1425 | if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; | ^~ src/drivers/halleys.c:1425:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1425 | if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; | ^~ In file included from src/driver.h:64, from src/drivers/mexico86.c:69: src/memory.h: In function 'cpu_readop16': src/drivers/halleys.c:1427:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1427 | if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; | ^~ src/drivers/halleys.c:1427:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1427 | if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; | ^~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:1430:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1430 | if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; | ^~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:1430:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1430 | if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; | ^~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c:1432:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1432 | if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; | ^~ src/drivers/halleys.c:1432:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1432 | if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; | ^~ src/drivers/halleys.c:1435:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1435 | if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; | ^~ src/drivers/halleys.c:1435:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1435 | if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; | ^~ src/drivers/halleys.c:1437:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1437 | if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; | ^~ src/drivers/halleys.c:1437:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1437 | if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; | ^~ src/drivers/halleys.c: In function 'filter_bitmap': src/drivers/halleys.c:1459:15: warning: cast increases required alignment of target type [-Wcast-align] 1459 | edi = (DWORD*)((WORD*)bitmap->line[VIS_MINY] + VIS_MINX + CLIP_W); | ^ Compiling src/sndhrdw/rastan_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/darius_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/missb2.c: In function 'video_update_missb2': src/drivers/missb2.c:81:22: warning: cast increases required alignment of target type [-Wcast-align] 81 | if (*(UINT32 *)(&bublbobl_objectram[offs]) == 0) | ^ src/drivers/missb2.c:106:48: warning: variable 'color' set but not used [-Wunused-but-set-variable] 106 | int goffs,code,color,flipx,flipy,x,y; | ^~~~~ Compiling src/drivers/rastan.c... In file included from src/driver.h:64, from src/vidhrdw/rastan_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/darius.c:135: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/halleys.c: In function 'init_common': src/drivers/halleys.c:2193:78: warning: cast increases required alignment of target type [-Wcast-align] 2193 | for (i=0; igamedrv == &driver_mgakuen2) /* hack... music doesn't work otherwise */ | ^~ src/drivers/mitchell.c:143:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 143 | return (input_port_0_r(0) & 0x76) | bit; | ^~~~~~ In file included from src/driver.h:64, from src/vidhrdw/tms34061_vidhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/itech8_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/zn.c:119: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/capbowl_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/itech8.c... In file included from src/driver.h:64, from src/vidhrdw/capbowl_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/itech32_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/capbowl.c:90: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cps1_vidhrdw.c: In function 'machine_init_cps': src/vidhrdw/cps1_vidhrdw.c:454:31: warning: cast increases required alignment of target type [-Wcast-align] 454 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^ src/vidhrdw/cps1_vidhrdw.c:460:31: warning: cast increases required alignment of target type [-Wcast-align] 460 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^ src/vidhrdw/cps1_vidhrdw.c: In function 'cps2_gfx_decode': src/vidhrdw/cps1_vidhrdw.c:740:27: warning: cast increases required alignment of target type [-Wcast-align] 740 | unshuffle((UINT64 *)(memory_region(REGION_GFX1) + i),banksize/8); | ^ src/vidhrdw/cps1_vidhrdw.c: In function 'init_cps2': src/vidhrdw/cps1_vidhrdw.c:753:25: warning: cast increases required alignment of target type [-Wcast-align] 753 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/vidhrdw/cps1_vidhrdw.c:754:25: warning: cast increases required alignment of target type [-Wcast-align] 754 | data16_t *xor = (data16_t *)memory_region(REGION_USER1); | ^ In file included from src/driver.h:64, from src/drivers/itech8.c:148: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/itech8_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/itech32.c... In file included from src/driver.h:64, from src/vidhrdw/itech32_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': Compiling src/machine/slikshot.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/blockade_vidhrdw.c... Compiling src/drivers/blockade.c... In file included from src/driver.h:64, from src/drivers/itech32.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vicdual_vidhrdw.c... In file included from src/driver.h:64, from src/machine/slikshot.c:70: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/vicdual.c... In file included from src/driver.h:64, from src/vidhrdw/blockade_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/carnival.c... Compiling src/sndhrdw/depthch.c... In file included from src/driver.h:64, from src/drivers/blockade.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/invinco.c... In file included from src/driver.h:64, from src/vidhrdw/vicdual_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/pulsar.c... Compiling src/machine/segacrpt.c... Compiling src/sndhrdw/segasnd.c... In file included from src/driver.h:64, from src/sndhrdw/carnival.c:37: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sega_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/vicdual.c:72: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/sega_sndhrdw.c... src/drivers/itech32.c: In function 'itech020_prot_result_r': src/drivers/itech32.c:301:28: warning: cast increases required alignment of target type [-Wcast-align] 301 | data32_t result = ((data32_t *)main_ram)[itech020_prot_address >> 2]; | ^ In file included from src/driver.h:64, from src/sndhrdw/invinco.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/depthch.c:5: src/memory.h: In function 'cpu_readop16': Compiling src/machine/sega_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/segacrpt.c:180: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/segasnd.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sega.c... In file included from src/driver.h:64, from src/vidhrdw/sega_vidhrdw.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/segar_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/sega_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/pulsar.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/sega_machine.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/segar_sndhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/segar_machine.c... In file included from src/driver.h:64, from src/drivers/sega.c:135: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/segar.c... In file included from src/driver.h:64, from src/vidhrdw/segar_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tms9928a.c... Compiling src/drivers/sg1000a.c... src/machine/slikshot.c: In function 'slikshot_extra_draw': src/machine/slikshot.c:382:32: warning: 'word1' may be used uninitialized in this function [-Wmaybe-uninitialized] 382 | *sens2 = word2 + word1, *sens3 = word2; | ~~~~~~^~~~~~~ src/machine/slikshot.c:396:16: note: 'word1' was declared here 396 | UINT16 word1, word2, word3; | ^~~~~ src/machine/slikshot.c:382:32: warning: 'word2' may be used uninitialized in this function [-Wmaybe-uninitialized] 382 | *sens2 = word2 + word1, *sens3 = word2; | ~~~~~~^~~~~~~ src/machine/slikshot.c:396:23: note: 'word2' was declared here 396 | UINT16 word1, word2, word3; | ^~~~~ In file included from src/driver.h:64, from src/machine/segar_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/sndhrdw/invinco.c: In function 'invinco_sh_port2_w': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/invinco.c:54:13: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] 54 | int bitsGoneHigh; | ^~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/zaxxon_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/segar.c:49: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/segar_sndhrdw.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/zaxxon_sndhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/pulsar.c: In function 'pulsar_sh_port1_w': src/sndhrdw/pulsar.c:75:13: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] 75 | int bitsGoneHigh; | ^~~~~~~~~~~~ Compiling src/drivers/zaxxon.c... In file included from src/driver.h:64, from src/drivers/sg1000a.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/turbo_machine.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/tms9928a.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/zaxxon_vidhrdw.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/itech32.c:34: At top level: src/drivers/itech32.c:542:24: warning: 'input_port_5_msw_r' defined but not used [-Wunused-function] 542 | static READ32_HANDLER( input_port_5_msw_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/itech32.c:199:24: warning: 'trackball32_8bit_r' defined but not used [-Wunused-function] 199 | static READ32_HANDLER( trackball32_8bit_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/vidhrdw/turbo_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/zaxxon_sndhrdw.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/turbo.c... src/vidhrdw/segar_vidhrdw.c: In function 'video_update_spaceod': src/vidhrdw/segar_vidhrdw.c:412:13: warning: variable 'sprite_transparency' set but not used [-Wunused-but-set-variable] 412 | int sprite_transparency; | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kopunch.c... In file included from src/driver.h:64, from src/drivers/zaxxon.c:157: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kopunch_vidhrdw.c... In file included from src/driver.h:64, from src/machine/turbo_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/suprloco_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/turbo_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/suprloco.c... In file included from src/driver.h:64, from src/drivers/turbo.c:147: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dotrikun_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/kopunch.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dotrikun.c... Compiling src/vidhrdw/angelkds_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/sega.c:135: At top level: src/drivers/sega.c:192:28: warning: 'speech_writemem' defined but not used [-Wunused-const-variable=] 192 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/sega.c:192:8: note: in expansion of macro 'MEMORY_WRITE_START' 192 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~~~~ src/drivers/sega.c:187:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] 187 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/sega.c:187:8: note: in expansion of macro 'MEMORY_READ_START' 187 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/kopunch_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/suprloco_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/angelkds.c... Compiling src/vidhrdw/system1_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/suprloco.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/system1.c... In file included from src/driver.h:64, from src/drivers/dotrikun.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/segasyse_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/segasyse.c... In file included from src/driver.h:64, from src/vidhrdw/dotrikun_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/angelkds.c:129: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/system1.h:4, from src/vidhrdw/system1_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/machine/system16_machine.c... In file included from src/driver.h:64, from src/vidhrdw/angelkds_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/system16_vidhrdw.c... Compiling src/vidhrdw/sys16spr.c... In file included from src/driver.h:64, from src/drivers/system1.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/segasyse_vidhrdw.c:17: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/kopunch.c:1: At top level: src/drivers/kopunch.c:77:22: warning: 'pip_r' defined but not used [-Wunused-function] 77 | static READ_HANDLER( pip_r ) | ^~~~~ src/memory.h:126:50: note: in definition of macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/system16_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/segasyse.c:158: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/system16.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/system16_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/aburner.c... In file included from src/driver.h:64, from src/vidhrdw/system16_vidhrdw.c:92: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/outrun.c... Compiling src/drivers/sharrier.c... Compiling src/drivers/system18.c... In file included from src/driver.h:64, from src/drivers/segar.c:49: At top level: In file included from src/driver.h:64, from src/vidhrdw/sys16spr.c:28: src/memory.h: In function 'cpu_readop16': src/drivers/segar.c:243:28: warning: 'speech_writemem' defined but not used [-Wunused-const-variable=] 243 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/segar.c:243:8: note: in expansion of macro 'MEMORY_WRITE_START' 243 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~~~~ src/drivers/segar.c:238:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] 238 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/segar.c:238:8: note: in expansion of macro 'MEMORY_READ_START' 238 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/system16_sndhrdw.c:2: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/system24.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/system16.c:117: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/system24_machine.c... In file included from src/driver.h:64, from src/drivers/aburner.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/system24_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/outrun.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/segaic24.c... src/vidhrdw/segasyse_vidhrdw.c: In function 'segae_drawtilesline': src/vidhrdw/segasyse_vidhrdw.c:457:50: warning: variable 'flipy' set but not used [-Wunused-but-set-variable] 457 | UINT8 palette, priority, flipx, flipy; | ^~~~~ src/vidhrdw/segasyse_vidhrdw.c: In function 'segae_draw8pix_solid16': src/vidhrdw/segasyse_vidhrdw.c:538:24: warning: cast increases required alignment of target type [-Wcast-align] 538 | UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(32)*tile + (4)*line + (0x4000) * segae_vdp_vrambank[chip]]; | ^ src/vidhrdw/segasyse_vidhrdw.c: In function 'segae_draw8pix': src/vidhrdw/segasyse_vidhrdw.c:569:24: warning: cast increases required alignment of target type [-Wcast-align] 569 | UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(32)*tile + (4)*line + (0x4000) * segae_vdp_vrambank[chip]]; | ^ src/vidhrdw/segasyse_vidhrdw.c: In function 'segae_draw8pixsprite': src/vidhrdw/segasyse_vidhrdw.c:600:24: warning: cast increases required alignment of target type [-Wcast-align] 600 | UINT32 pix8 = *(UINT32 *)&segae_vdp_vram[chip][(32)*tile + (4)*line + (0x4000) * segae_vdp_vrambank[chip]]; | ^ In file included from src/driver.h:64, from src/drivers/sharrier.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/system18.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/system16_machine.c: In function 'patch_codeX': src/machine/system16_machine.c:16:25: warning: cast increases required alignment of target type [-Wcast-align] 16 | data16_t *mem = (data16_t *)memory_region(REGION_CPU1+cpu); | ^ src/machine/system16_machine.c: In function 'SYS16_CPU3ROM16_r': src/machine/system16_machine.c:44:32: warning: cast increases required alignment of target type [-Wcast-align] 44 | const data16_t *pMem = (data16_t *)memory_region(REGION_CPU3); | ^ Compiling src/drivers/system32.c... In file included from src/driver.h:64, from src/drivers/system24.c:91: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/multi32.c... In file included from src/driver.h:64, from src/machine/system24_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': In file included from src/driver.h:64, from src/vidhrdw/system24_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/system32_vidhrdw.c... Compiling src/vidhrdw/segac2_vidhrdw.c... Compiling src/drivers/segac2.c... In file included from src/driver.h:64, from src/vidhrdw/segaic24.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/system32.c:352: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/stv.c... In file included from src/driver.h:64, from src/drivers/multi32.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/stvhacks.c... In file included from src/driver.h:64, from src/vidhrdw/system32_vidhrdw.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/segac2_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/stvcd.c... src/drivers/sharrier.c: In function 'enduror_sprite_decode': src/drivers/sharrier.c:972:25: warning: cast increases required alignment of target type [-Wcast-align] 972 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/sharrier.c: In function 'endurora_opcode_decode': src/drivers/sharrier.c:988:25: warning: cast increases required alignment of target type [-Wcast-align] 988 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/sharrier.c: In function 'endurob2_opcode_decode': src/drivers/sharrier.c:1006:25: warning: cast increases required alignment of target type [-Wcast-align] 1006 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/machine/scudsp.c... In file included from src/driver.h:64, from src/drivers/segac2.c:137: src/memory.h: In function 'cpu_readop16': src/drivers/system24.c: In function 'reset_bank': src/drivers/system24.c:452:20: warning: cast increases required alignment of target type [-Wcast-align] 452 | rom_base = (UINT16 *)(memory_region(REGION_USER1) + curbank * 0x40000); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system24.c: In function 'rom_r': src/drivers/system24.c:511:17: warning: cast increases required alignment of target type [-Wcast-align] 511 | return ((UINT16 *)memory_region(REGION_CPU1))[offset]; | ^ Compiling src/vidhrdw/stvvdp1_vidhrdw.c... src/drivers/outrun.c: In function 'init_outrunb': src/drivers/outrun.c:907:25: warning: cast increases required alignment of target type [-Wcast-align] 907 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/outrun.c:941:15: warning: cast increases required alignment of target type [-Wcast-align] 941 | RAM = (data16_t *)memory_region(REGION_CPU3); | ^ In file included from src/driver.h:64, from src/drivers/stv.c:94: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/stvvdp2_vidhrdw.c... Compiling src/vidhrdw/deniam_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/stvhacks.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system16.c: In function 'init_auraila': Compiling src/drivers/deniam.c... src/drivers/system16.c:1381:25: warning: cast increases required alignment of target type [-Wcast-align] 1381 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/machine/btime_machine.c... In file included from src/driver.h:64, from src/machine/stvcd.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/scudsp.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segac2_vidhrdw.c: In function 'video_start_segac2': src/vidhrdw/segac2_vidhrdw.c:243:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 243 | for (i = 0; i < 24; i++) | ^~~ src/vidhrdw/segac2_vidhrdw.c:245:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 245 | vdp_cmdpart = 0; | ^~~~~~~~~~~ Compiling src/vidhrdw/btime_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/stvvdp1_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/segac2_vidhrdw.c: In function 'drawline_tiles': src/vidhrdw/segac2_vidhrdw.c:1228:38: warning: cast increases required alignment of target type [-Wcast-align] 1228 | UINT32 *tp = (UINT32 *)&VDP_VRAM_BYTE((tile & 0x7ff) * 32); | ^ In file included from src/driver.h:64, from src/vidhrdw/stvvdp2_vidhrdw.c:56: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cps1.c: In function 'init_pang3': Compiling src/drivers/btime.c... src/vidhrdw/segac2_vidhrdw.c: In function 'draw8pixs': src/vidhrdw/segac2_vidhrdw.c:1318:24: warning: cast increases required alignment of target type [-Wcast-align] 1318 | UINT32 tile = *(UINT32 *)&VDP_VRAM_BYTE(patno * 32 + 4 * patline); | ^ src/drivers/cps1.c:7392:25: warning: cast increases required alignment of target type [-Wcast-align] 7392 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/vidhrdw/segac2_vidhrdw.c: In function 'draw8pixs_hflip': src/vidhrdw/segac2_vidhrdw.c:1396:24: warning: cast increases required alignment of target type [-Wcast-align] 1396 | UINT32 tile = *(UINT32 *)&VDP_VRAM_BYTE(patno * 32 + 4 * patline); | ^ In file included from src/driver.h:64, from src/vidhrdw/deniam_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/decocass_machine.c... In file included from src/driver.h:64, from src/drivers/deniam.c:34: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/decocass_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c: In function 'system32_draw_sprite': src/vidhrdw/system32_vidhrdw.c:317:65: warning: cast increases required alignment of target type [-Wcast-align] 317 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:370:57: warning: cast increases required alignment of target type [-Wcast-align] 370 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:406:65: warning: cast increases required alignment of target type [-Wcast-align] 406 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/system32_vidhrdw.c:455:57: warning: cast increases required alignment of target type [-Wcast-align] 455 | dst_ptr[ecx] = ((UINT32*)palette_shadow_table)[eax]; | ^ Compiling src/drivers/decocass.c... In file included from src/driver.h:64, from src/machine/btime_machine.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/cps1.c:15: At top level: src/inptport.h:187:43: warning: 'input_ports_rockmanj' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/cps1.c:3486:1: note: in expansion of macro 'INPUT_PORTS_START' 3486 | INPUT_PORTS_START( rockmanj ) | ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/astrof_vidhrdw.c... Compiling src/sndhrdw/astrof_sndhrdw.c... src/drivers/stvhacks.c: In function 'init_ic13': src/drivers/stvhacks.c:16:25: warning: cast increases required alignment of target type [-Wcast-align] 16 | data32_t *rom = (data32_t *)memory_region(REGION_USER1); | ^ In file included from src/driver.h:64, from src/machine/decocass_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/stvhacks.c:7: At top level: src/drivers/stvhacks.c:311:24: warning: 'dnmtdeka_speedup_r' defined but not used [-Wunused-function] 311 | static READ32_HANDLER( dnmtdeka_speedup_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/drivers/astrof.c... src/drivers/stv.c: In function 'do_cd_command': src/drivers/stv.c:1455:67: warning: pointer targets in passing argument 2 of 'cdb_inject_file_info' differ in signedness [-Wpointer-sign] 1455 | cdb_inject_file_info(fid, cdb_sat_file_info); | ^~~~~~~~~~~~~~~~~ | | | char * In file included from src/drivers/stv.c:97: src/machine/stvcd.h:7:47: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'char *' 7 | void cdb_inject_file_info(UINT32 fid, UINT8 * dst); | ~~~~~~~~^~~ In file included from src/driver.h:64, from src/vidhrdw/decocass_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/btime.c:49: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/liberate_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/btime_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: src/machine/stvcd.c:456:13: warning: 'iso_build_disc_bin' defined but not used [-Wunused-function] 456 | static void iso_build_disc_bin(void){ | ^~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/decocass.c:55: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/liberate.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c: In function 'stv_vdp2_draw_basic_tilemap': src/vidhrdw/stvvdp2_vidhrdw.c:1768:27: warning: variable 'mpsize_dwords' set but not used [-Wunused-but-set-variable] 1768 | int mpsize_bytes, mpsize_dwords; | ^~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c:1763:27: warning: variable 'plsize_dwords' set but not used [-Wunused-but-set-variable] 1763 | int plsize_bytes, plsize_dwords; | ^~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/multi32.c:18: At top level: src/drivers/multi32.c:126:23: warning: 'sys32_read_ff' defined but not used [-Wunused-function] 126 | static READ16_HANDLER(sys32_read_ff) | ^~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/multi32.c:116:24: warning: 'system32_eeprom_w' defined but not used [-Wunused-function] 116 | static WRITE16_HANDLER(system32_eeprom_w) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/multi32.c:111:23: warning: 'system32_eeprom_r' defined but not used [-Wunused-function] 111 | static READ16_HANDLER(system32_eeprom_r) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/vidhrdw/bwing_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/astrof_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bwing.c... In file included from src/driver.h:64, from src/sndhrdw/astrof_sndhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kchamp_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/astrof.c:38: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': In file included from src/driver.h:64, from src/vidhrdw/liberate_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kchamp.c... Compiling src/vidhrdw/firetrap_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/liberate.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/firetrap.c... In file included from src/driver.h:64, from src/vidhrdw/bwing_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/brkthru_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/bwing.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/brkthru.c... In file included from src/driver.h:64, from src/vidhrdw/kchamp_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/metlclsh_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/kchamp.c:64: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/firetrap_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/metlclsh.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/compgolf.c... In file included from src/driver.h:64, from src/drivers/firetrap.c:59: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tryout.c... In file included from src/driver.h:64, from src/vidhrdw/brkthru_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/shootout_vidhrdw.c... src/vidhrdw/liberate_vidhrdw.c: In function 'video_update_prosport': src/vidhrdw/liberate_vidhrdw.c:385:24: warning: variable 'color' set but not used [-Wunused-but-set-variable] 385 | int mx,my,tile,color,offs; | ^~~~~ src/drivers/system32.c: In function 'init_jpark': src/drivers/system32.c:3011:26: warning: cast increases required alignment of target type [-Wcast-align] 3011 | data16_t *pROM = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/brkthru.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/metlclsh_vidhrdw.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shootout.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sidepckt_vidhrdw.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/system32.c:352: At top level: src/inptport.h:187:43: warning: 'input_ports_sys32_4p' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/system32.c:1254:1: note: in expansion of macro 'INPUT_PORTS_START' 1254 | INPUT_PORTS_START( sys32_4p ) | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/system32.c:352: src/drivers/system32.c:869:25: warning: 'jp_v60_write_cab' defined but not used [-Wunused-function] 869 | static WRITE16_HANDLER( jp_v60_write_cab ) | ^~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/system32.c:625:23: warning: 'sys32_read_ff' defined but not used [-Wunused-function] 625 | static READ16_HANDLER(sys32_read_ff) | ^~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/system32.c:492:24: warning: 'system32_eeprom_w' defined but not used [-Wunused-function] 492 | static WRITE16_HANDLER(system32_eeprom_w) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/system32.c:487:23: warning: 'system32_eeprom_r' defined but not used [-Wunused-function] 487 | static READ16_HANDLER(system32_eeprom_r) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ In file included from src/driver.h:64, from src/drivers/metlclsh.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sidepckt.c... Compiling src/vidhrdw/exprraid_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/compgolf.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/exprraid.c... In file included from src/driver.h:64, from src/drivers/tryout.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pcktgal_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/shootout_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pcktgal.c... In file included from src/driver.h:64, from src/drivers/shootout.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/cps2.c:95: At top level: src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/inptport.h:187:43: warning: 'input_ports_cps2' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/cps2.c:774:1: note: in expansion of macro 'INPUT_PORTS_START' 774 | INPUT_PORTS_START( cps2 ) | ^~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/sidepckt_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/battlera_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/sidepckt.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/exprraid_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/battlera.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/exprraid.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/actfancr_vidhrdw.c... Compiling src/drivers/actfancr.c... In file included from src/driver.h:64, from src/vidhrdw/pcktgal_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dec8_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/pcktgal.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dec8.c... In file included from src/driver.h:64, from src/vidhrdw/battlera_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/karnov_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/battlera.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/karnov.c... In file included from src/driver.h:64, from src/vidhrdw/dec8_vidhrdw.c:43: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/actfancr.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': In file included from src/driver.h:64, from src/vidhrdw/actfancr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/decocrpt.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/karnov_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/decoprot.c... In file included from src/driver.h:64, from src/drivers/dec8.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/deco16ic.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/system1.c:19: At top level: src/inptport.h:187:43: warning: 'input_ports_shtngmst' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/system1.c:1380:1: note: in expansion of macro 'INPUT_PORTS_START' 1380 | INPUT_PORTS_START( shtngmst ) | ^~~~~~~~~~~~~~~~~ Compiling src/machine/dec0_machine.c... In file included from src/driver.h:64, from src/machine/decocrpt.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/stv.c: In function 'init_sfish2': src/drivers/stv.c:4532:25: warning: cast increases required alignment of target type [-Wcast-align] 4532 | data32_t *rom = (data32_t *)memory_region(REGION_USER1); | ^ src/drivers/stv.c: In function 'init_sfish2j': src/drivers/stv.c:4544:25: warning: cast increases required alignment of target type [-Wcast-align] 4544 | data32_t *rom = (data32_t *)memory_region(REGION_USER1); | ^ Compiling src/vidhrdw/dec0_vidhrdw.c... In file included from src/driver.h:64, from src/machine/decoprot.c:57: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/karnov.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dec0.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/deco16ic.c:142: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/segac2.c:137: At top level: src/inptport.h:187:43: warning: 'input_ports_genesis' defined but not used [-Wunused-const-variable=] 187 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/segac2.c:2747:1: note: in expansion of macro 'INPUT_PORTS_START' 2747 | INPUT_PORTS_START( genesis ) /* Genesis Input Ports */ | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/segac2.c:137: src/drivers/segac2.c:1500:26: warning: 'genesis_z80_ram_w' defined but not used [-Wunused-function] 1500 | static WRITE16_HANDLER ( genesis_z80_ram_w ) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ src/drivers/segac2.c:1340:24: warning: 'megaplay_instr_r' defined but not used [-Wunused-function] 1340 | static READ16_HANDLER( megaplay_instr_r ) | ^~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/vidhrdw/stadhero_vidhrdw.c... Compiling src/drivers/stadhero.c... Compiling src/vidhrdw/madmotor_vidhrdw.c... In file included from src/driver.h:64, from src/machine/dec0_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/dec0_vidhrdw.c:101: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/madmotor.c... In file included from src/driver.h:64, from src/drivers/dec0.c:38: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vaportra_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/stadhero_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/vaportra.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/stadhero.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/cbuster_vidhrdw.c... Compiling src/drivers/cbuster.c... In file included from src/driver.h:64, from src/vidhrdw/madmotor_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/darkseal_vidhrdw.c... src/machine/decocrpt.c: In function 'deco_decrypt': In file included from src/driver.h:64, from src/drivers/madmotor.c:15: src/memory.h: In function 'cpu_readop16': src/machine/decocrpt.c:603:25: warning: cast increases required alignment of target type [-Wcast-align] 603 | data16_t *rom = (data16_t *)memory_region(mem_region); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/vaportra_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/darkseal.c... src/machine/decocrpt.c: In function 'deco102_decrypt_cpu': src/machine/decocrpt.c:788:23: warning: cast increases required alignment of target type [-Wcast-align] 788 | UINT16 *rom = (UINT16 *)memory_region(REGION_CPU1); | ^ src/machine/decocrpt.c: In function 'deco156_decrypt': src/machine/decocrpt.c:831:23: warning: cast increases required alignment of target type [-Wcast-align] 831 | UINT32 *rom = (UINT32 *)memory_region(REGION_CPU1); | ^ Compiling src/vidhrdw/supbtime_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/vaportra.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/supbtime.c... In file included from src/driver.h:64, from src/vidhrdw/cbuster_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/cninja_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/cbuster.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/dec0_machine.c: In function 'init_hbarrel': src/machine/dec0_machine.c:586:17: warning: cast increases required alignment of target type [-Wcast-align] 586 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/machine/dec0_machine.c: In function 'init_hbarrelw': src/machine/dec0_machine.c:595:17: warning: cast increases required alignment of target type [-Wcast-align] 595 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ At top level: src/machine/dec0_machine.c:462:13: warning: 'i8751_callback' defined but not used [-Wunused-function] 462 | static void i8751_callback(int param) | ^~~~~~~~~~~~~~ Compiling src/drivers/cninja.c... In file included from src/driver.h:64, from src/vidhrdw/darkseal_vidhrdw.c:88: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dassault_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/darkseal.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dassault.c... src/drivers/karnov.c: In function 'init_chelnov': src/drivers/karnov.c:1031:25: warning: cast increases required alignment of target type [-Wcast-align] 1031 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/vidhrdw/supbtime_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/drivers/karnov.c: In function 'init_chelnovw': src/drivers/karnov.c:1041:25: warning: cast increases required alignment of target type [-Wcast-align] 1041 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^ src/drivers/karnov.c: In function 'init_chelnovj': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/karnov.c:1051:25: warning: cast increases required alignment of target type [-Wcast-align] 1051 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rohga_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/supbtime.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/cninja_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rohga.c... Compiling src/vidhrdw/tumblep_vidhrdw.c... Compiling src/drivers/tumblep.c... In file included from src/driver.h:64, from src/vidhrdw/dassault_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/dassault.c:121: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/lemmings_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/lemmings.c... In file included from src/driver.h:64, from src/drivers/cninja.c:36: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/rohga_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/funkyjet_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/rohga.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/tumblep_vidhrdw.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/funkyjet.c... In file included from src/driver.h:64, from src/drivers/tumblep.c:142: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/deco32_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/lemmings_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/deco32.c... In file included from src/driver.h:64, from src/drivers/lemmings.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/funkyjet_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/vidhrdw/avengrgs_vidhrdw.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/avengrgs.c... Compiling src/vidhrdw/sshangha_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/funkyjet.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sshangha.c... In file included from src/driver.h:64, from src/vidhrdw/deco32_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/senjyo_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/deco32.c:104: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/senjyo_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/avengrgs_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/senjyo.c... Compiling src/vidhrdw/bombjack_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/avengrgs.c:59: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bombjack.c... src/vidhrdw/lemmings_vidhrdw.c: In function 'lemmings_pixel_1_w': src/vidhrdw/lemmings_vidhrdw.c:157:23: warning: variable 'old' set but not used [-Wunused-but-set-variable] 157 | int sx,sy,src,old,tile; | ^~~ In file included from src/driver.h:64, from src/drivers/sshangha.c:54: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pbaction_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/sshangha_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/senjyo_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pbaction.c... In file included from src/driver.h:64, from src/vidhrdw/senjyo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tehkanwc_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/senjyo.c:68: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tehkanwc.c... In file included from src/driver.h:64, from src/vidhrdw/bombjack_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/solomon_vidhrdw.c... Compiling src/drivers/solomon.c... In file included from src/driver.h:64, from src/drivers/bombjack.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tecmo_vidhrdw.c... src/vidhrdw/deco32_vidhrdw.c: In function 'tilemap_raster_draw': src/vidhrdw/deco32_vidhrdw.c:1235:23: warning: variable 'sy0' set but not used [-Wunused-but-set-variable] 1235 | int ptr=0,sx0,sy0,sx1,sy1,start,end=0; | ^~~ src/vidhrdw/deco32_vidhrdw.c:1235:19: warning: variable 'sx0' set but not used [-Wunused-but-set-variable] 1235 | int ptr=0,sx0,sy0,sx1,sy1,start,end=0; | ^~~ src/drivers/tumblep.c: In function 'tumblep_patch_code': In file included from src/driver.h:64, from src/vidhrdw/pbaction_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/drivers/tumblep.c:1120:25: warning: cast increases required alignment of target type [-Wcast-align] 1120 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/tumblep.c: In function 'init_htchctch': src/drivers/tumblep.c:1191:30: warning: cast increases required alignment of target type [-Wcast-align] 1191 | data16_t *PROTDATA = (data16_t*)memory_region(REGION_USER1); | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/pbaction.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tecmo.c... In file included from src/driver.h:64, from src/vidhrdw/tehkanwc_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tbowl_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/tehkanwc.c:81: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tbowl.c... In file included from src/driver.h:64, from src/vidhrdw/solomon_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gaiden_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/solomon.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gaiden.c... In file included from src/driver.h:64, from src/vidhrdw/tecmo_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wc90_vidhrdw.c... src/drivers/cninja.c: In function 'cninja_patch': In file included from src/driver.h:64, from src/drivers/tecmo.c:48: src/memory.h: In function 'cpu_readop16': src/drivers/cninja.c:1686:25: warning: cast increases required alignment of target type [-Wcast-align] 1686 | data16_t *RAM = (UINT16 *)memory_region(REGION_CPU1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wc90.c... In file included from src/driver.h:64, from src/vidhrdw/tbowl_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wc90b_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/tbowl.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wc90b.c... In file included from src/driver.h:64, from src/vidhrdw/gaiden_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mame.h:13, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/segac2.c:137: In function 'memcpy', inlined from 'init_megaplay' at src/drivers/segac2.c:4505:2: /usr/include/fortify/string.h:53:16: warning: '__builtin_memcpy' accessing 98304 bytes at offsets 65536 and 32768 overlaps 65536 bytes at offset 65536 [-Wrestrict] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/gaiden.c:127: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/spbactn_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/wc90_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/wc90.c:54: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spbactn.c... In file included from src/driver.h:64, from src/vidhrdw/wc90b_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/wc90b.c:73: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tecmo16_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tecmo16.c... Compiling src/drivers/tecmosys.c... In file included from src/driver.h:64, from src/vidhrdw/spbactn_vidhrdw.c:4: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/scramble_machine.c... Compiling src/sndhrdw/scramble_sndhrdw.c... Compiling src/drivers/scramble.c... src/drivers/deco32.c: In function 'init_dragngun': In file included from src/driver.h:64, from src/drivers/spbactn.c:128: src/memory.h: In function 'cpu_readop16': src/drivers/deco32.c:2943:25: warning: cast increases required alignment of target type [-Wcast-align] 2943 | data32_t *ROM = (UINT32 *)memory_region(REGION_CPU1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/tecmo16_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/frogger.c... In file included from src/driver.h:64, from src/drivers/tecmo16.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/scobra.c... In file included from src/driver.h:64, from src/drivers/tecmosys.c:95: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/amidar.c... In file included from src/driver.h:64, from src/machine/scramble_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fastfred_vidhrdw.c... Compiling src/drivers/fastfred.c... In file included from src/driver.h:64, from src/sndhrdw/scramble_sndhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tutankhm_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/frogger.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/scramble.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tutankhm.c... In file included from src/driver.h:64, from src/drivers/scobra.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/junofrst.c... In file included from src/driver.h:64, from src/drivers/amidar.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pooyan_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/fastfred_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/fastfred.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pooyan.c... In file included from src/driver.h:64, from src/vidhrdw/tutankhm_vidhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/tutankhm.c:180: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/timeplt_vidhrdw.c... src/drivers/tecmosys.c: In function 'init_deroon': src/drivers/tecmosys.c:525:25: warning: cast increases required alignment of target type [-Wcast-align] 525 | data16_t *ROM = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/junofrst.c:80: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/timeplt.c... In file included from src/driver.h:64, from src/vidhrdw/pooyan_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/timeplt_sndhrdw.c... src/machine/scramble_machine.c: In function 'init_billiard': src/machine/scramble_machine.c:1385:32: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1385 | if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; | ^~~~~~~~ src/machine/scramble_machine.c:1386:32: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1386 | if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; | ^~~~~~~~ Compiling src/vidhrdw/megazone_vidhrdw.c... src/machine/scramble_machine.c:1389:32: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1389 | if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; | ^~~~~~~~ In file included from src/driver.h:64, from src/drivers/pooyan.c:65: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/megazone.c... Compiling src/vidhrdw/pandoras_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/timeplt_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pandoras.c... In file included from src/driver.h:64, from src/drivers/timeplt.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/gyruss_sndhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/timeplt_sndhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tutankhm_vidhrdw.c: In function 'junofrst_blitter_w': src/vidhrdw/tutankhm_vidhrdw.c:143:31: warning: variable 'destflag' set but not used [-Wunused-but-set-variable] 143 | unsigned char destflag; | ^~~~~~~~ Compiling src/vidhrdw/gyruss_vidhrdw.c... Compiling src/drivers/gyruss.c... Compiling src/machine/konami_machine.c... In file included from src/driver.h:64, from src/vidhrdw/pandoras_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/megazone_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/trackfld_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/megazone.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/pandoras.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/gyruss_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/trackfld_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/gyruss_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/trackfld.c... In file included from src/driver.h:64, from src/drivers/gyruss.c:58: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/rocnrope_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rocnrope.c... In file included from src/driver.h:64, from src/machine/konami_machine.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/circusc_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/trackfld_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/circusc.c... In file included from src/driver.h:64, from src/sndhrdw/trackfld_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tp84_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tp84.c... In file included from src/driver.h:64, from src/vidhrdw/rocnrope_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/hyperspt_vidhrdw.c... Compiling src/drivers/hyperspt.c... In file included from src/driver.h:64, from src/drivers/trackfld.c:20: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/circusc_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/rocnrope.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/sbasketb_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': In file included from src/driver.h:64, from src/drivers/circusc.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sbasketb.c... In file included from src/driver.h:64, from src/vidhrdw/tp84_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mikie_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/tp84.c:84: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mikie.c... In file included from src/driver.h:64, from src/vidhrdw/hyperspt_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/yiear_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hyperspt.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/yiear.c... In file included from src/driver.h:64, from src/vidhrdw/sbasketb_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sbasketb.c:18: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/shaolins_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shaolins.c... In file included from src/driver.h:64, from src/vidhrdw/mikie_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pingpong_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/yiear_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pingpong.c... In file included from src/driver.h:64, from src/drivers/mikie.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/yiear.c:50: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gberet_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/shaolins_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/gberet.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jailbrek_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/shaolins.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/pingpong_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/jailbrek.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/finalizr_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/pingpong.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/finalizr.c... In file included from src/driver.h:64, from src/vidhrdw/gberet_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ironhors_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gberet.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ironhors.c... In file included from src/driver.h:64, from src/vidhrdw/jailbrek_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/jackal_machine.c... In file included from src/driver.h:64, from src/drivers/jailbrek.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jackal_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/finalizr_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/jackal.c... In file included from src/driver.h:64, from src/drivers/finalizr.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ddrible_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/ironhors_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ddrible.c... In file included from src/driver.h:64, from src/drivers/ironhors.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/contra_vidhrdw.c... In file included from src/driver.h:64, from src/machine/jackal_machine.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/contra.c... In file included from src/driver.h:64, from src/vidhrdw/jackal_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/combatsc_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/jackal.c:23: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/combatsc.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/ddrible_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/hcastle_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ddrible.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hcastle.c... In file included from src/driver.h:64, from src/vidhrdw/contra_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nemesis_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/contra.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/combatsc_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/nemesis.c... In file included from src/driver.h:64, from src/drivers/combatsc.c:120: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/konamiic.c... In file included from src/driver.h:64, from src/vidhrdw/hcastle_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rockrage_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hcastle.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rockrage.c... In file included from src/driver.h:64, from src/vidhrdw/nemesis_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/flkatck_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/nemesis.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/konamiic.c:1153: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/flkatck.c... In file included from src/driver.h:64, from src/vidhrdw/rockrage_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fastlane_vidhrdw.c... Compiling src/drivers/fastlane.c... In file included from src/driver.h:64, from src/drivers/rockrage.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/labyrunr_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/flkatck_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/labyrunr.c... Compiling src/vidhrdw/battlnts_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/flkatck.c:13: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/battlnts.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/fastlane_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bladestl_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/fastlane.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bladestl.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/ajax_machine.c... In file included from src/driver.h:64, from src/vidhrdw/labyrunr_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ajax_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/labyrunr.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c: In function 'konami_rom_deinterleave_2': src/vidhrdw/konamiic.c:1188:17: warning: cast increases required alignment of target type [-Wcast-align] 1188 | shuffle((UINT16 *)memory_region(mem_region),memory_region_length(mem_region)/2); | ^ In file included from src/driver.h:64, from src/vidhrdw/battlnts_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ajax.c... src/vidhrdw/konamiic.c: In function 'K052109_r': src/vidhrdw/konamiic.c:2077:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2077 | else | ^~~~ src/vidhrdw/konamiic.c:2080:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2080 | addr = (code << 5) + (offset & 0x1f); | ^~~~ In file included from src/driver.h:64, from src/drivers/battlnts.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/thunderx_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/thunderx.c... In file included from src/driver.h:64, from src/drivers/bladestl.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mainevt_vidhrdw.c... src/vidhrdw/konamiic.c: In function 'K055673_vh_start': In file included from src/driver.h:64, from src/vidhrdw/bladestl_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/vidhrdw/konamiic.c:3554:31: warning: cast increases required alignment of target type [-Wcast-align] 3554 | K055673_rom = (data16_t *)memory_region(gfx_memory_region); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:3561:31: warning: cast increases required alignment of target type [-Wcast-align] 3561 | K055673_rom = (data16_t *)memory_region(gfx_memory_region); | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:3568:31: warning: cast increases required alignment of target type [-Wcast-align] 3568 | K055673_rom = (data16_t *)memory_region(gfx_memory_region); | ^ In file included from src/driver.h:64, from src/machine/ajax_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c: In function 'K055673_rom_word_r': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/konamiic.c:3691:25: warning: cast increases required alignment of target type [-Wcast-align] 3691 | data16_t *ROM = (data16_t *)memory_region(K053247_memory_region); | ^ src/vidhrdw/konamiic.c: In function 'K055673_GX6bpp_rom_word_r': src/vidhrdw/konamiic.c:3736:25: warning: cast increases required alignment of target type [-Wcast-align] 3736 | data16_t *ROM = (data16_t *)memory_region(K053247_memory_region); | ^ Compiling src/drivers/mainevt.c... In file included from src/driver.h:64, from src/vidhrdw/ajax_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/88games_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ajax.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/88games.c... In file included from src/driver.h:64, from src/vidhrdw/thunderx_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gbusters_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/thunderx.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/drivers/gbusters.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/mainevt_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/crimfght_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mainevt.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/crimfght.c... src/vidhrdw/konamiic.c: In function 'K056832_update_linemap': src/vidhrdw/konamiic.c:6350:33: warning: variable 'code_opaque' set but not used [-Wunused-but-set-variable] 6350 | UINT8 code_transparent, code_opaque; | ^~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/88games_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/vidhrdw/konamiic.c:6347:31: warning: variable 'src_modulo' set but not used [-Wunused-but-set-variable] 6347 | int count, src_pitch, src_modulo; | ^~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/spy_vidhrdw.c... src/vidhrdw/konamiic.c:6347:20: warning: variable 'src_pitch' set but not used [-Wunused-but-set-variable] 6347 | int count, src_pitch, src_modulo; | ^~~~~~~~~ In file included from src/driver.h:64, from src/drivers/88games.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spy.c... In file included from src/driver.h:64, from src/vidhrdw/gbusters_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bottom9_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gbusters.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bottom9.c... In file included from src/driver.h:64, from src/vidhrdw/crimfght_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/blockhl_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/crimfght.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/blockhl.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/spy_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/aliens_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/spy.c:20: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/aliens.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/bottom9_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/surpratk_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/bottom9.c:11: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/surpratk.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/blockhl_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/parodius_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/blockhl.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/parodius.c... In file included from src/driver.h:64, from src/vidhrdw/aliens_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rollerg_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/aliens.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rollerg.c... In file included from src/driver.h:64, from src/vidhrdw/surpratk_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xexex_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/surpratk.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/xexex.c... In file included from src/driver.h:64, from src/vidhrdw/parodius_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/asterix_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/asterix.c... In file included from src/driver.h:64, from src/drivers/parodius.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/rollerg_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/gijoe_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/rollerg.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gijoe.c... Compiling src/machine/simpsons_machine.c... In file included from src/driver.h:64, from src/drivers/xexex.c:64: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/simpsons_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/xexex_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/asterix_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/simpsons.c... In file included from src/driver.h:64, from src/drivers/asterix.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vendetta_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/gijoe_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/vendetta.c... In file included from src/driver.h:64, from src/drivers/gijoe.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wecleman_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/simpsons_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wecleman.c... In file included from src/driver.h:64, from src/vidhrdw/simpsons_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/chqflag_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/simpsons.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/chqflag.c... In file included from src/driver.h:64, from src/vidhrdw/vendetta_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ultraman_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/vendetta.c:89: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ultraman.c... Compiling src/vidhrdw/hexion_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/wecleman_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hexion.c... In file included from src/driver.h:64, from src/drivers/wecleman.c:272: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/twin16_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/chqflag_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/twin16.c... In file included from src/driver.h:64, from src/drivers/chqflag.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/ultraman_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tmnt_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/gijoe_vidhrdw.c: In function 'video_update_gijoe': src/vidhrdw/gijoe_vidhrdw.c:82:47: warning: variable 'primode' set but not used [-Wunused-but-set-variable] 82 | int vrc_mode, vrc_new, colorbase_new, primode, dirty, i; | ^~~~~~~ In file included from src/driver.h:64, from src/drivers/ultraman.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/tmnt.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/hexion_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xmen_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hexion.c:81: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/xmen.c... src/machine/simpsons_machine.c: In function 'machine_init_simpsons': src/machine/simpsons_machine.c:212:23: warning: cast increases required alignment of target type [-Wcast-align] 212 | spriteram16 = (data16_t *)&RAM[0x8a000]; | ^ In file included from src/driver.h:64, from src/vidhrdw/twin16_vidhrdw.c:18: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/overdriv_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/twin16.c:55: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/overdriv.c... In file included from src/driver.h:64, from src/vidhrdw/tmnt_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gradius3_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/tmnt.c:67: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gradius3.c... In file included from src/driver.h:64, from src/vidhrdw/xmen_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c: In function 'do_blit_zoom16': src/vidhrdw/wecleman_vidhrdw.c:290:19: warning: cast increases required alignment of target type [-Wcast-align] 290 | dst_end = (UINT16 *)(screen_baseaddr + screen_line_offset * y2); | ^ src/vidhrdw/wecleman_vidhrdw.c:306:19: warning: cast increases required alignment of target type [-Wcast-align] 306 | dst_ptr = (UINT16 *)(screen_baseaddr + screen_line_offset * y1); | ^ Compiling src/vidhrdw/moo_vidhrdw.c... src/vidhrdw/wecleman_vidhrdw.c: In function 'wecleman_draw_road': src/vidhrdw/wecleman_vidhrdw.c:676:26: warning: cast increases required alignment of target type [-Wcast-align] 676 | dw_ptr = (UINT32*)dst_line[sy+BMP_PAD]; | ^ src/vidhrdw/wecleman_vidhrdw.c:733:34: warning: cast increases required alignment of target type [-Wcast-align] 733 | dw_end = (UINT32*)dst_base; | ^ src/vidhrdw/wecleman_vidhrdw.c:734:34: warning: cast increases required alignment of target type [-Wcast-align] 734 | dw_ptr = (UINT32*)dst_base; | ^ src/vidhrdw/wecleman_vidhrdw.c:752:34: warning: cast increases required alignment of target type [-Wcast-align] 752 | dw_ptr = (UINT32*)dst_base; | ^ src/vidhrdw/wecleman_vidhrdw.c:753:34: warning: cast increases required alignment of target type [-Wcast-align] 753 | dw_end = (UINT32*)dst_base; | ^ In file included from src/driver.h:64, from src/drivers/xmen.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c: In function 'wecleman_draw_cloud': src/vidhrdw/wecleman_vidhrdw.c:810:42: warning: variable 'pal_advance' set but not used [-Wunused-but-set-variable] 810 | int src_advance, src_advance_l2, pal_advance, pal_advance_l2; | ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:810:13: warning: variable 'src_advance' set but not used [-Wunused-but-set-variable] 810 | int src_advance, src_advance_l2, pal_advance, pal_advance_l2; | ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c: In function 'video_start_wecleman': src/vidhrdw/wecleman_vidhrdw.c:1156:33: warning: cast increases required alignment of target type [-Wcast-align] 1156 | rgb_half = (UINT16*)(buffer + 0x00000); | ^ src/vidhrdw/wecleman_vidhrdw.c:1157:36: warning: cast increases required alignment of target type [-Wcast-align] 1157 | t32x32pm = (int*)(buffer + 0x10020); | ^ Compiling src/drivers/moo.c... src/vidhrdw/wecleman_vidhrdw.c:1158:24: warning: cast increases required alignment of target type [-Wcast-align] 1158 | spr_ptr_list = (struct sprite **)(buffer + 0x12000); | ^ src/vidhrdw/wecleman_vidhrdw.c:1159:35: warning: cast increases required alignment of target type [-Wcast-align] 1159 | spr_idx_list = (int *)(buffer + 0x12400); | ^ src/vidhrdw/wecleman_vidhrdw.c:1160:35: warning: cast increases required alignment of target type [-Wcast-align] 1160 | spr_pri_list = (int *)(buffer + 0x12800); | ^ src/vidhrdw/wecleman_vidhrdw.c: In function 'video_start_hotchase': src/vidhrdw/wecleman_vidhrdw.c:1260:24: warning: cast increases required alignment of target type [-Wcast-align] 1260 | spr_ptr_list = (struct sprite **)buffer; | ^ src/drivers/wecleman.c: In function 'hotchase_sound_control_w': src/drivers/wecleman.c:780:13: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 780 | int reg[8]; | ^~~ In file included from src/driver.h:64, from src/vidhrdw/overdriv_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mystwarr_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/overdriv.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mystwarr.c... In file included from src/driver.h:64, from src/vidhrdw/gradius3_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rungun_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gradius3.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rungun.c... In file included from src/driver.h:64, from src/vidhrdw/moo_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/twin16.c: In function 'extra_rom_r': src/drivers/twin16.c:122:17: warning: cast increases required alignment of target type [-Wcast-align] 122 | return ((UINT16 *)memory_region(REGION_GFX3))[offset]; | ^ In file included from src/driver.h:64, from src/drivers/moo.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/mystwarr_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dbz2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mystwarr.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/rungun_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dbz2.c... In file included from src/driver.h:64, from src/drivers/rungun.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/tmnt.c: In function 'tmnt_decode_sample': src/drivers/tmnt.c:339:16: warning: cast increases required alignment of target type [-Wcast-align] 339 | dest = (signed short *)samples->sample[0]->data; | ^ Compiling src/vidhrdw/bishi_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/dbz2_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/bishi.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/xmen.c: In function 'init_xmen6p': src/drivers/xmen.c:478:25: warning: cast increases required alignment of target type [-Wcast-align] 478 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/machine/konamigx_machine.c... Compiling src/vidhrdw/konamigx_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/dbz2.c:57: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/konamigx.c... src/vidhrdw/moo_vidhrdw.c: In function 'video_update_moo': src/vidhrdw/moo_vidhrdw.c:106:13: warning: variable 'bg_colorbase' set but not used [-Wunused-but-set-variable] 106 | int bg_colorbase, new_colorbase, plane, dirty, alpha; | ^~~~~~~~~~~~ Compiling src/vidhrdw/djmain_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/bishi_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/djmain.c... src/vidhrdw/rungun_vidhrdw.c: In function 'ttl_get_tile_info': src/vidhrdw/rungun_vidhrdw.c:26:27: warning: cast increases required alignment of target type [-Wcast-align] 26 | data32_t *lvram = (data32_t *)ttl_vram; | ^ In file included from src/driver.h:64, from src/drivers/bishi.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/plygonet_vidhrdw.c... In file included from src/driver.h:64, from src/machine/konamigx_machine.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/plygonet.c... Compiling src/drivers/mogura.c... In file included from src/driver.h:64, from src/vidhrdw/konamigx_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/twin16.c: In function 'gfx_untangle': src/drivers/twin16.c:1458:34: warning: cast increases required alignment of target type [-Wcast-align] 1458 | twin16_gfx_rom = (UINT16 *)memory_region(REGION_GFX2); | ^ In file included from src/driver.h:64, from src/drivers/konamigx.c:100: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/moo.c: In function 'init_moo': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/moo.c:869:57: warning: cast increases required alignment of target type [-Wcast-align] 869 | state_save_register_INT32("Moo", 0, "control2", (INT32 *)&cur_control2, 1); | ^ Compiling src/machine/am53cf96.c... In file included from src/driver.h:64, from src/vidhrdw/djmain_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/djmain.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/konamigq.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/plygonet_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/carpolo_machine.c... In file included from src/driver.h:64, from src/drivers/plygonet.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mogura.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/am53cf96.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/konamigq.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/carpolo_vidhrdw.c... Compiling src/drivers/carpolo.c... src/machine/konamigx_machine.c: In function 'zdrawgfxzoom32GP': src/machine/konamigx_machine.c:570:21: warning: cast increases required alignment of target type [-Wcast-align] 570 | shd_base = (UINT32 *)palette_shadow_table; | ^ src/machine/konamigx_machine.c:515:29: warning: variable 'db1' set but not used [-Wunused-but-set-variable] 515 | UINT8 z8, db0, p8, db1; | ^~~ src/machine/konamigx_machine.c:515:20: warning: variable 'db0' set but not used [-Wunused-but-set-variable] 515 | UINT8 z8, db0, p8, db1; | ^~~ Compiling src/vidhrdw/exidy_vidhrdw.c... src/drivers/bishi.c: In function 'init_bishi': src/drivers/bishi.c:281:59: warning: cast increases required alignment of target type [-Wcast-align] 281 | state_save_register_INT32("bishi", 0, "control2", (INT32 *)&cur_control, 1); | ^ Compiling src/sndhrdw/exidy_sndhrdw.c... src/machine/konamigx_machine.c: In function 'konamigx_mixer': src/machine/konamigx_machine.c:1279:56: warning: variable 'prflp' set but not used [-Wunused-but-set-variable] 1279 | int wrapsize, xwraplim, ywraplim, cltc_shdpri, prflp, disp; | ^~~~~ In file included from src/driver.h:64, from src/machine/carpolo_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/konamigx_machine.c: In function 'K053990_martchmp_word_w': src/machine/konamigx_machine.c:2002:23: warning: variable 'dst_count' set but not used [-Wunused-but-set-variable] 2002 | int dst_addr, dst_count, dst_skip; | ^~~~~~~~~ Compiling src/drivers/exidy.c... src/drivers/konamigx.c: In function 'type1_roz_r1': src/drivers/konamigx.c:979:25: warning: cast increases required alignment of target type [-Wcast-align] 979 | data32_t *ROM = (data32_t *)memory_region(REGION_GFX3); | ^ src/drivers/konamigx.c: In function 'type1_roz_r2': src/drivers/konamigx.c:986:25: warning: cast increases required alignment of target type [-Wcast-align] 986 | data32_t *ROM = (data32_t *)memory_region(REGION_GFX3); | ^ src/machine/konamigx_machine.c: In function 'konamigx_esc_alert': src/machine/konamigx_machine.c:2110:82: warning: variable 'hmask' set but not used [-Wunused-but-set-variable] 2110 | INT32 data1, data2, i, j, vpos, hpos, voffs, hoffs, vcorr, hcorr, vmask, hmask, magicid; | ^~~~~ In file included from src/drivers/mystwarr.c:25: At top level: src/drivers/mystwarr.c:823:22: warning: 'audio_interrupt' defined but not used [-Wunused-function] 823 | static INTERRUPT_GEN(audio_interrupt) | ^~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ src/drivers/dbz2.c: In function 'init_dbz': src/drivers/dbz2.c:585:15: warning: cast increases required alignment of target type [-Wcast-align] 585 | ROM = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/sndhrdw/targ.c... In file included from src/driver.h:64, from src/vidhrdw/carpolo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/plygonet_vidhrdw.c: In function 'polygonet_ttl_ram_r': Compiling src/vidhrdw/circus_vidhrdw.c... src/vidhrdw/plygonet_vidhrdw.c:44:26: warning: cast increases required alignment of target type [-Wcast-align] 44 | data32_t *vram = (data32_t *)ttl_vram; | ^ src/vidhrdw/plygonet_vidhrdw.c: In function 'polygonet_ttl_ram_w': src/vidhrdw/plygonet_vidhrdw.c:51:26: warning: cast increases required alignment of target type [-Wcast-align] 51 | data32_t *vram = (data32_t *)ttl_vram; | ^ In file included from src/driver.h:64, from src/drivers/carpolo.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/plygonet.c: In function 'ttl_rom_r': src/drivers/plygonet.c:126:15: warning: cast increases required alignment of target type [-Wcast-align] 126 | ROM = (data32_t *)memory_region(REGION_GFX1); | ^ Compiling src/drivers/circus.c... src/drivers/plygonet.c: In function 'psac_rom_r': src/drivers/plygonet.c:136:15: warning: cast increases required alignment of target type [-Wcast-align] 136 | ROM = (data32_t *)memory_region(REGION_GFX2); | ^ src/machine/am53cf96.c: In function 'am53cf96_w': src/machine/am53cf96.c:88:23: warning: variable 'dma' set but not used [-Wunused-but-set-variable] 88 | int reg, val, dma; | ^~~ In file included from src/driver.h:64, from src/vidhrdw/exidy_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/starfire_vidhrdw.c... Compiling src/drivers/starfire.c... In file included from src/driver.h:64, from src/sndhrdw/exidy_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/exidy.c:127: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/victory_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/targ.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/victory.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/circus_vidhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/exidy440_sndhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/circus.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/exidy440_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/starfire_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/exidy440.c... src/vidhrdw/carpolo_vidhrdw.c: In function 'palette_init_carpolo': Compiling src/machine/atari_vg.c... src/vidhrdw/carpolo_vidhrdw.c:103:31: warning: variable 'bit2' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:26: warning: variable 'bit1' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:21: warning: variable 'bit0' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^~~~ In file included from src/driver.h:64, from src/drivers/starfire.c:47: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/victory_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tia.c... In file included from src/driver.h:64, from src/drivers/victory.c:98: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tourtabl.c... In file included from src/driver.h:64, from src/sndhrdw/exidy440_sndhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/asteroid_machine.c... src/vidhrdw/exidy_vidhrdw.c: In function 'video_start_exidy': src/vidhrdw/exidy_vidhrdw.c:156:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 156 | if (video_start_generic()) | ^~ src/vidhrdw/exidy_vidhrdw.c:159:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 159 | motion_object_1_vid = auto_bitmap_alloc(16, 16); | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:160:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 160 | if (!motion_object_1_vid) | ^~ src/vidhrdw/exidy_vidhrdw.c:163:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 163 | motion_object_2_vid = auto_bitmap_alloc(16, 16); | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:164:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 164 | if (!motion_object_2_vid) | ^~ src/vidhrdw/exidy_vidhrdw.c:167:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 167 | motion_object_2_clip = auto_bitmap_alloc(16, 16); | ^~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/exidy440_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/asteroid_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/exidy440.c:217: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/asteroid.c... In file included from src/driver.h:64, from src/machine/atari_vg.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/sndhrdw/llander.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/circus_vidhrdw.c: In function 'ripcord_draw_skydiver': src/vidhrdw/circus_vidhrdw.c:274:33: warning: variable 'clip' set but not used [-Wunused-but-set-variable] 274 | const struct rectangle *clip; | ^~~~ Compiling src/drivers/bwidow.c... In file included from src/driver.h:64, from src/vidhrdw/tia.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': In file included from src/driver.h:64, from src/drivers/tourtabl.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/bzone_sndhrdw.c... src/drivers/konamigx.c: In function 'init_konamigx': src/drivers/konamigx.c:3292:33: warning: cast increases required alignment of target type [-Wcast-align] 3292 | data32_t *rom = (data32_t*)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/machine/asteroid_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bzone.c... Compiling src/sndhrdw/redbaron.c... In file included from src/driver.h:64, from src/sndhrdw/asteroid_sndhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tempest.c... In file included from src/drivers/konamigx.c:100: At top level: src/drivers/konamigx.c:1399:22: warning: 'gxaudio_interrupt' defined but not used [-Wunused-function] 1399 | static INTERRUPT_GEN(gxaudio_interrupt) | ^~~~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ In file included from src/driver.h:64, from src/drivers/asteroid.c:141: src/memory.h: In function 'cpu_readop16': src/drivers/konamigx.c:652:12: warning: 'konamigx_irq_callback' defined but not used [-Wunused-function] 652 | static int konamigx_irq_callback(int irqline) | ^~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:208:12: warning: 'pri_comp' defined but not used [-Wunused-function] 208 | static int pri_comp(const void *s1, const void *s2) | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/llander.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/starwars_machine.c... In file included from src/driver.h:64, from src/drivers/bwidow.c:216: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/starwars.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/exidy440_sndhrdw.c: In function 'exidy440_sh_start': src/sndhrdw/exidy440_sndhrdw.c:192:27: warning: cast increases required alignment of target type [-Wcast-align] 192 | sound_cache_max = (sound_cache_entry *)((UINT8 *)sound_cache + length); | ^ src/sndhrdw/exidy440_sndhrdw.c: In function 'mix_to_16': src/sndhrdw/exidy440_sndhrdw.c:289:16: warning: unused variable 'clippers' [-Wunused-variable] 289 | int i, clippers = 0; | ^~~~~~~~ src/sndhrdw/exidy440_sndhrdw.c: In function 'add_to_sound_cache': src/sndhrdw/exidy440_sndhrdw.c:651:27: warning: cast increases required alignment of target type [-Wcast-align] 651 | sound_cache_end = (sound_cache_entry *)((UINT8 *)current + sizeof(sound_cache_entry) + length * 16); | ^ Compiling src/sndhrdw/starwars_sndhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/bzone_sndhrdw.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/mhavoc_machine.c... In file included from src/driver.h:64, from src/drivers/bzone.c:198: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mhavoc.c... In file included from src/driver.h:64, from src/sndhrdw/redbaron.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/tempest.c:176: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/quantum.c... In file included from src/driver.h:64, from src/machine/starwars_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/starwars.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/copsnrob_vidhrdw.c... Compiling src/machine/copsnrob_machine.c... In file included from src/driver.h:64, from src/sndhrdw/starwars_sndhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/copsnrob.c... In file included from src/driver.h:64, from src/drivers/mhavoc.c:178: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/flyball_vidhrdw.c... Compiling src/drivers/flyball.c... In file included from src/driver.h:64, from src/drivers/quantum.c:46: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/mhavoc_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sprint2_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/copsnrob_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sprint2.c... In file included from src/driver.h:64, from src/machine/copsnrob_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sprint4_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/copsnrob.c:55: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sprint4.c... In file included from src/driver.h:64, from src/vidhrdw/flyball_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sprint8_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/flyball.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sprint8.c... In file included from src/driver.h:64, from src/vidhrdw/sprint2_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nitedrvr_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/sprint2.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/nitedrvr_machine.c... In file included from src/driver.h:64, from src/vidhrdw/sprint4_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sprint4.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/nitedrvr.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/dominos.c... In file included from src/driver.h:64, from src/vidhrdw/sprint8_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/triplhnt_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/sprint8.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/triplhnt.c... In file included from src/driver.h:64, from src/vidhrdw/nitedrvr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dragrace_vidhrdw.c... Compiling src/drivers/dragrace.c... In file included from src/driver.h:64, from src/machine/nitedrvr_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/poolshrk_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/nitedrvr.c:36: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/machine/dominos.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/triplhnt_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/poolshrk.c... In file included from src/driver.h:64, from src/drivers/triplhnt.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/starshp1_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/dragrace_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/starshp1.c... In file included from src/driver.h:64, from src/drivers/dragrace.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/poolshrk_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/canyon_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/canyon.c... At top level: src/vidhrdw/nitedrvr_vidhrdw.c:82:13: warning: 'nitedrvr_draw_hacks' defined but not used [-Wunused-function] 82 | static void nitedrvr_draw_hacks( struct mame_bitmap *bitmap ) | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/destroyr_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/poolshrk.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/starshp1_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/destroyr.c... Compiling src/drivers/ultratnk.c... In file included from src/driver.h:64, from src/drivers/starshp1.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wolfpack_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/canyon_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wolfpack.c... In file included from src/driver.h:64, from src/drivers/canyon.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/boxer_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/destroyr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/destroyr.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/boxer.c... Compiling src/vidhrdw/skyraid_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/wolfpack_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/skyraid.c... In file included from src/driver.h:64, from src/drivers/wolfpack.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ultratnk.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/avalnche_machine.c... In file included from src/driver.h:64, from src/vidhrdw/boxer_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/avalnche_vidhrdw.c... Compiling src/drivers/avalnche.c... In file included from src/driver.h:64, from src/drivers/boxer.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/skyraid_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/firetrk.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/firetrk_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/skyraid.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/skydiver_vidhrdw.c... In file included from src/driver.h:64, from src/machine/avalnche_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/skydiver.c... In file included from src/driver.h:64, from src/drivers/avalnche.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/sbrkout_machine.c... In file included from src/driver.h:64, from src/vidhrdw/avalnche_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sbrkout_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/firetrk.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/firetrk_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sbrkout.c... Compiling src/machine/atarifb_machine.c... In file included from src/driver.h:64, from src/vidhrdw/skydiver_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarifb_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/skydiver.c:85: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/sbrkout_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/atarifb.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/sbrkout_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/orbit_vidhrdw.c... Compiling src/drivers/orbit.c... In file included from src/driver.h:64, from src/drivers/sbrkout.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/atarifb_machine.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/videopin_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/videopin.c... In file included from src/driver.h:64, from src/drivers/atarifb.c:105: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/orbit_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/subs_machine.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/atarifb_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/subs_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/orbit.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/subs.c... In file included from src/driver.h:64, from src/vidhrdw/videopin_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bsktball_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/videopin.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/bsktball_machine.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bsktball.c... In file included from src/driver.h:64, from src/machine/subs_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/centiped_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/subs_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/centiped.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/subs.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/runaway_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/bsktball_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/runaway.c... In file included from src/driver.h:64, from src/machine/bsktball_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/missile_machine.c... Compiling src/vidhrdw/missile_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/bsktball.c:24: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/missile.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/centiped.c:274: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/centiped_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/foodf_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/runaway_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/foodf.c... In file included from src/driver.h:64, from src/drivers/runaway.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tunhunt.c... In file included from src/driver.h:64, from src/machine/missile_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tunhunt_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/missile_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/liberatr_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/missile.c:146: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/liberatr.c... Compiling src/vidhrdw/ccastles_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/foodf_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/foodf.c:76: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ccastles.c... In file included from src/driver.h:64, from src/drivers/tunhunt.c:51: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/cloak_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/tunhunt_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cloak.c... In file included from src/driver.h:64, from src/vidhrdw/liberatr_vidhrdw.c:16: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/cloud9_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/liberatr.c:136: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cloud9.c... In file included from src/driver.h:64, from src/vidhrdw/ccastles_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jedi_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ccastles.c:84: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/jedi.c... In file included from src/driver.h:64, from src/vidhrdw/cloak_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/atarigen.c... In file included from src/driver.h:64, from src/drivers/cloak.c:110: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/atarijsa.c... In file included from src/driver.h:64, from src/vidhrdw/cloud9_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarimo_vidhrdw.c... src/drivers/foodf.c: In function 'nvram_r': src/drivers/foodf.c:102:17: warning: cast increases required alignment of target type [-Wcast-align] 102 | return ((data16_t *)generic_nvram)[offset] | 0xfff0; | ^ In file included from src/driver.h:64, from src/drivers/cloud9.c:61: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarirle_vidhrdw.c... Compiling src/machine/slapstic.c... In file included from src/driver.h:64, from src/vidhrdw/jedi_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarisy1_vidhrdw.c... src/vidhrdw/liberatr_vidhrdw.c: In function 'video_start_liberatr': src/vidhrdw/liberatr_vidhrdw.c:311:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 311 | if ((tmpbitmap = auto_bitmap_alloc(Machine->drv->screen_width, Machine->drv->screen_height)) == 0) | ^~ src/vidhrdw/liberatr_vidhrdw.c:314:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 314 | if ((liberatr_videoram = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height)) == 0) | ^~ In file included from src/driver.h:64, from src/drivers/jedi.c:111: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/atarisy1.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/atarigen.h:9, from src/sndhrdw/atarijsa.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarisy2_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/atarimo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/atarigen.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/atarisy2.c... In file included from src/driver.h:64, from src/vidhrdw/atarirle_vidhrdw.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/irobot_machine.c... In file included from src/driver.h:64, from src/machine/slapstic.c:182: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/irobot_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/atarisy1_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/irobot.c... In file included from src/driver.h:64, from src/drivers/atarisy1.c:119: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/harddriv_machine.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/harddriv_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/atarisy2_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/harddriv_sndhrdw.c... src/vidhrdw/cloud9_vidhrdw.c: In function 'video_update_cloud9': src/vidhrdw/cloud9_vidhrdw.c:262:40: warning: variable 'lblank' set but not used [-Wunused-but-set-variable] 262 | int xflip,yflip,rblank,lblank; | ^~~~~~ src/vidhrdw/cloud9_vidhrdw.c:262:33: warning: variable 'rblank' set but not used [-Wunused-but-set-variable] 262 | int xflip,yflip,rblank,lblank; | ^~~~~~ In file included from src/driver.h:64, from src/drivers/atarisy2.c:126: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/harddriv.c... In file included from src/driver.h:64, from src/machine/irobot_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gauntlet_vidhrdw.c... Compiling src/drivers/gauntlet.c... In file included from src/driver.h:64, from src/drivers/irobot.c:77: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/atarigen.h:9, from src/machine/harddriv_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/irobot_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atetris_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/harddriv_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/atetris.c... In file included from src/cpuintrf.h:13, from src/cpu/tms32010/tms32010.h:19, from src/sndhrdw/harddriv_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/toobin_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/harddriv.c:170: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/gauntlet_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/toobin.c... src/vidhrdw/atarirle_vidhrdw.c: In function 'atarirle_init': src/vidhrdw/atarirle_vidhrdw.c:273:32: warning: cast increases required alignment of target type [-Wcast-align] 273 | const data16_t *base = (const data16_t *)memory_region(desc->region); | ^ In file included from src/driver.h:64, from src/drivers/gauntlet.c:121: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vindictr_vidhrdw.c... src/vidhrdw/atarirle_vidhrdw.c: In function 'prescan_rle': src/vidhrdw/atarirle_vidhrdw.c:678:36: warning: variable 'value' set but not used [-Wunused-but-set-variable] 678 | int count, value; | ^~~~~ src/vidhrdw/atarirle_vidhrdw.c: In function 'sort_and_render': src/vidhrdw/atarirle_vidhrdw.c:848:33: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 848 | int dx, dy, ex, ey, sx = x, sy = y, tx, ty; | ^~ src/vidhrdw/atarirle_vidhrdw.c:848:29: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 848 | int dx, dy, ex, ey, sx = x, sy = y, tx, ty; | ^~ src/vidhrdw/atarirle_vidhrdw.c:804:26: warning: variable 'which' set but not used [-Wunused-but-set-variable] 804 | int scale, code, which; | ^~~~~ Compiling src/drivers/vindictr.c... In file included from src/driver.h:64, from src/vidhrdw/atetris_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/atetris.c:50: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/klax_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/toobin_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/irobot_machine.c: In function 'irmb_din': src/machine/irobot_machine.c:343:30: warning: cast increases required alignment of target type [-Wcast-align] 343 | d = ((UINT16 *)mbRAM)[ad & 0xfff]; /* MB RAM read */ | ^ src/machine/irobot_machine.c:345:30: warning: cast increases required alignment of target type [-Wcast-align] 345 | d = ((UINT16 *)mbROM)[ad + 0x2000]; /* MB ROM read, CEMATH = 1 */ | ^ src/machine/irobot_machine.c:347:30: warning: cast increases required alignment of target type [-Wcast-align] 347 | d = ((UINT16 *)mbROM)[ad & 0x1fff]; /* MB ROM read, CEMATH = 0 */ | ^ src/machine/irobot_machine.c: In function 'irmb_dout': src/machine/irobot_machine.c:357:18: warning: cast increases required alignment of target type [-Wcast-align] 357 | ((UINT16 *)irobot_combase_mb)[irmb_latch & 0x7ff] = d; | ^ src/machine/irobot_machine.c:365:26: warning: cast increases required alignment of target type [-Wcast-align] 365 | ((UINT16 *)mbRAM)[ad & 0xfff] = d; /* MB RAM write */ | ^ Compiling src/drivers/klax.c... In file included from src/driver.h:64, from src/drivers/toobin.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/blstroid_vidhrdw.c... Compiling src/drivers/blstroid.c... Compiling src/vidhrdw/xybots_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/vindictr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/irobot_vidhrdw.c: In function 'irobot_run_video': src/vidhrdw/irobot_vidhrdw.c:239:29: warning: cast increases required alignment of target type [-Wcast-align] 239 | UINT16 *combase16 = (UINT16 *)irobot_combase; | ^ Compiling src/drivers/xybots.c... In file included from src/driver.h:64, from src/drivers/vindictr.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/klax_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/klax.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/eprom_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c: In function 'machine_init_harddriv': src/machine/harddriv_machine.c:199:22: warning: cast increases required alignment of target type [-Wcast-align] 199 | sim_memory = (data16_t *)memory_region(REGION_USER1); | ^ src/machine/harddriv_machine.c:200:22: warning: cast increases required alignment of target type [-Wcast-align] 200 | som_memory = (data16_t *)memory_region(REGION_USER2); | ^ src/machine/harddriv_machine.c:202:28: warning: cast increases required alignment of target type [-Wcast-align] 202 | adsp_data_memory = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET); | ^ src/machine/harddriv_machine.c:203:27: warning: cast increases required alignment of target type [-Wcast-align] 203 | adsp_pgm_memory = (data32_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_PGM_OFFSET); | ^ src/machine/harddriv_machine.c:204:32: warning: cast increases required alignment of target type [-Wcast-align] 204 | adsp_pgm_memory_word = (data16_t *)((UINT8 *)adsp_pgm_memory + 1); | ^ src/sndhrdw/harddriv_sndhrdw.c: In function 'hdsnd_init': src/sndhrdw/harddriv_sndhrdw.c:54:18: warning: cast increases required alignment of target type [-Wcast-align] 54 | comram = (UINT16 *)(memory_region(REGION_CPU1 + hdcpu_sounddsp) + 0x1000); | ^ Compiling src/drivers/eprom.c... src/vidhrdw/harddriv_vidhrdw.c: In function 'hdgsp_vram_1bpp_w': src/vidhrdw/harddriv_vidhrdw.c:348:24: warning: cast increases required alignment of target type [-Wcast-align] 348 | UINT32 *dest = (UINT32 *)&hdgsp_vram[offset * 16]; | ^ src/vidhrdw/harddriv_vidhrdw.c: In function 'hdgsp_vram_2bpp_w': src/vidhrdw/harddriv_vidhrdw.c:376:24: warning: cast increases required alignment of target type [-Wcast-align] 376 | UINT32 *dest = (UINT32 *)&hdgsp_vram[offset * 8]; | ^ In file included from src/driver.h:64, from src/vidhrdw/blstroid_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/skullxbo_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/blstroid.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/skullxbo.c... In file included from src/driver.h:64, from src/vidhrdw/xybots_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/badlands_vidhrdw.c... Compiling src/drivers/badlands.c... In file included from src/driver.h:64, from src/drivers/xybots.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/eprom_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/cyberbal_vidhrdw.c... Compiling src/sndhrdw/cyberbal_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/eprom.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cyberbal.c... In file included from src/driver.h:64, from src/drivers/skullxbo.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rampart_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/skullxbo_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rampart.c... Compiling src/vidhrdw/shuuz_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/badlands_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shuuz.c... In file included from src/driver.h:64, from src/vidhrdw/cyberbal_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarig1_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/cyberbal_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/badlands.c:95: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/atarig1.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/thunderj_vidhrdw.c... Compiling src/drivers/thunderj.c... In file included from src/driver.h:64, from src/vidhrdw/rampart_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/cyberbal.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/batman_vidhrdw.c... Compiling src/drivers/batman.c... In file included from src/driver.h:64, from src/drivers/rampart.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/shuuz.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/relief_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/shuuz_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/relief.c... In file included from src/driver.h:64, from src/vidhrdw/atarig1_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/offtwall_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/thunderj_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/thunderj.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/offtwall.c... In file included from src/driver.h:64, from src/vidhrdw/batman_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/atarig1.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/arcadecl_vidhrdw.c... Compiling src/drivers/arcadecl.c... In file included from src/driver.h:64, from src/drivers/batman.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/beathead_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/offtwall_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/beathead.c... In file included from src/driver.h:64, from src/vidhrdw/relief_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarig42_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/relief.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/atarig42.c... In file included from src/driver.h:64, from src/drivers/offtwall.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/asic65.c... In file included from src/driver.h:64, from src/drivers/arcadecl.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarigx2_vidhrdw.c... Compiling src/drivers/atarigx2.c... In file included from src/driver.h:64, from src/vidhrdw/arcadecl_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/beathead_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarigt_vidhrdw.c... Compiling src/drivers/atarigt.c... In file included from src/driver.h:64, from src/vidhrdw/atarig42_vidhrdw.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/beathead.c:100: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jaguar_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/jaguar_sndhrdw.c... Compiling src/drivers/cojag.c... src/drivers/thunderj.c: In function 'machine_init_thunderj': src/drivers/thunderj.c:66:23: warning: cast increases required alignment of target type [-Wcast-align] 66 | rom_base[0] = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/thunderj.c:67:23: warning: cast increases required alignment of target type [-Wcast-align] 67 | rom_base[1] = (data16_t *)memory_region(REGION_CPU2); | ^ In file included from src/driver.h:64, from src/drivers/atarig42.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/asic65.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/sndhrdw/cage_sndhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rockola_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/atarigx2_vidhrdw.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/rockola_sndhrdw.c... Compiling src/drivers/rockola.c... In file included from src/driver.h:64, from src/vidhrdw/atarigt_vidhrdw.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/atarigx2.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/lasso_vidhrdw.c... src/vidhrdw/atarimo_vidhrdw.c: In function 'atarimo_render': src/vidhrdw/atarimo_vidhrdw.c:547:16: warning: array subscript -1 is below array bounds of 'struct rectangle[1024]' [-Warray-bounds] 547 | rect = &mo->rectlist[-1]; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo_vidhrdw.c:105:33: note: while referencing 'rectlist' 105 | struct rectangle rectlist[ATARIMO_MAXPERBANK]; /* list of bounding rectangles */ | ^~~~~~~~ Compiling src/drivers/lasso.c... In file included from src/driver.h:64, from src/drivers/atarigt.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/jaguar_sndhrdw.c:145: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/munchmo.c... In file included from src/driver.h:64, from src/vidhrdw/jaguar_vidhrdw.c:137: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/drivers/cojag.c:54: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/munchmo_vidhrdw.c... Compiling src/vidhrdw/marvins_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/rockola_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/cage_sndhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/marvins.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/rockola.c:89: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jcross_vidhrdw.c... Compiling src/drivers/jcross.c... In file included from src/driver.h:64, from src/sndhrdw/rockola_sndhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/lasso.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mainsnk_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/lasso_vidhrdw.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mainsnk.c... Compiling src/drivers/hal21.c... In file included from src/driver.h:64, from src/drivers/munchmo.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/snk_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/marvins_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/snk.c... src/drivers/beathead.c: In function 'eeprom_data_w': src/drivers/beathead.c:250:32: warning: cast increases required alignment of target type [-Wcast-align] 250 | COMBINE_DATA(&((data32_t *)generic_nvram)[offset]); | ^ src/memory.h:872:44: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ src/drivers/beathead.c:250:32: warning: cast increases required alignment of target type [-Wcast-align] 250 | COMBINE_DATA(&((data32_t *)generic_nvram)[offset]); | ^ src/memory.h:872:57: note: in definition of macro 'COMBINE_DATA' 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^~~~~~ Compiling src/drivers/sgladiat.c... In file included from src/driver.h:64, from src/vidhrdw/munchmo_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/jcross_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/snk68_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/marvins.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/snk68.c... In file included from src/driver.h:64, from src/drivers/jcross.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/prehisle_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mainsnk.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/prehisle.c... In file included from src/driver.h:64, from src/vidhrdw/mainsnk_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/snk_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bbusters_vidhrdw.c... src/drivers/cojag.c: In function 'eeprom_data_r': src/drivers/cojag.c:265:25: warning: cast increases required alignment of target type [-Wcast-align] 265 | return ((UINT32 *)generic_nvram)[offset] | 0xffffff00; | ^ src/drivers/cojag.c:267:25: warning: cast increases required alignment of target type [-Wcast-align] 267 | return ((UINT32 *)generic_nvram)[offset] | 0x00ffffff; | ^ src/drivers/cojag.c: In function 'eeprom_data_w': src/drivers/cojag.c:282:26: warning: cast increases required alignment of target type [-Wcast-align] 282 | ((UINT32 *)generic_nvram)[offset] = data & 0x000000ff; | ^ src/drivers/cojag.c:284:26: warning: cast increases required alignment of target type [-Wcast-align] 284 | ((UINT32 *)generic_nvram)[offset] = data & 0xff000000; | ^ In file included from src/driver.h:64, from src/drivers/hal21.c:55: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sgladiat.c:22: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/bbusters.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/snk.c:218: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shougi.c... In file included from src/driver.h:64, from src/vidhrdw/snk68_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/snk68.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/equites_machine.c... Compiling src/vidhrdw/equites_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/prehisle_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/equites.c... In file included from src/driver.h:64, from src/drivers/prehisle.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/atarig42.c: In function 'init_guardian': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/atarig42.c:720:10: warning: cast increases required alignment of target type [-Wcast-align] 720 | *(data16_t *)&memory_region(REGION_CPU1)[0x80000] = 0x4E75; | ^ Compiling src/vidhrdw/alpha68k_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/bbusters_vidhrdw.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/alpha68k.c... In file included from src/vidhrdw/jaguar_vidhrdw.c:808: src/vidhrdw/jagobj.c: In function 'process_bitmap': src/vidhrdw/jagobj.c:505:25: warning: cast increases required alignment of target type [-Wcast-align] 505 | data32_t *src = (data32_t *)get_jaguar_memory(data << 3); | ^ In file included from src/driver.h:64, from src/drivers/bbusters.c:167: src/memory.h: In function 'cpu_readop16': In file included from src/vidhrdw/jaguar_vidhrdw.c:808: src/vidhrdw/jagobj.c:658:16: warning: cast increases required alignment of target type [-Wcast-align] 658 | return (data32_t *)get_jaguar_memory(link << 3); | ^ src/vidhrdw/jagobj.c: In function 'process_scaled_bitmap': src/vidhrdw/jagobj.c:678:25: warning: cast increases required alignment of target type [-Wcast-align] 678 | data32_t *src = (data32_t *)get_jaguar_memory(data << 3); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/jagobj.c:831:16: warning: cast increases required alignment of target type [-Wcast-align] 831 | return (data32_t *)get_jaguar_memory(link << 3); | ^ src/vidhrdw/jagobj.c: In function 'process_branch': src/vidhrdw/jagobj.c:896:24: warning: cast increases required alignment of target type [-Wcast-align] 896 | return taken ? (data32_t *)get_jaguar_memory(link << 3) : (objdata + 2); | ^ src/vidhrdw/jagobj.c: In function 'process_object_list': src/vidhrdw/jagobj.c:933:35: warning: cast increases required alignment of target type [-Wcast-align] 933 | objdata = (data32_t *)get_jaguar_memory((gpu_regs[OLP_H] << 16) | gpu_regs[OLP_L]); | ^ Compiling src/vidhrdw/champbas_vidhrdw.c... Compiling src/drivers/champbas.c... In file included from src/driver.h:64, from src/drivers/shougi.c:94: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/equites_machine.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/exctsccr_machine.c... In file included from src/driver.h:64, from src/vidhrdw/equites_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/exctsccr_vidhrdw.c... src/vidhrdw/snk_vidhrdw.c: In function 'tnk3_draw_sprites': src/vidhrdw/snk_vidhrdw.c:205:21: warning: cast increases required alignment of target type [-Wcast-align] 205 | if(*(UINT32*)(spriteram+offs) == 0 || *(UINT32*)(spriteram+offs) == -1) continue; | ^ src/vidhrdw/snk_vidhrdw.c:205:56: warning: cast increases required alignment of target type [-Wcast-align] 205 | if(*(UINT32*)(spriteram+offs) == 0 || *(UINT32*)(spriteram+offs) == -1) continue; | ^ Compiling src/drivers/exctsccr.c... src/vidhrdw/snk_vidhrdw.c: In function 'ikari_draw_sprites': src/vidhrdw/snk_vidhrdw.c:343:21: warning: cast increases required alignment of target type [-Wcast-align] 343 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^ src/vidhrdw/snk_vidhrdw.c:343:54: warning: cast increases required alignment of target type [-Wcast-align] 343 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^ src/vidhrdw/snk_vidhrdw.c: In function 'tdfever_draw_sp': src/vidhrdw/snk_vidhrdw.c:485:21: warning: cast increases required alignment of target type [-Wcast-align] 485 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^ src/vidhrdw/snk_vidhrdw.c:485:54: warning: cast increases required alignment of target type [-Wcast-align] 485 | if(*(UINT32*)(source+which) == 0 || *(UINT32*)(source+which) == -1) continue; | ^ In file included from src/driver.h:64, from src/vidhrdw/alpha68k_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: src/vidhrdw/snk_vidhrdw.c:36:13: warning: 'print' defined but not used [-Wunused-function] 36 | static void print( struct mame_bitmap *bitmap, int num, int row ) | ^~~~~ Compiling src/drivers/scregg.c... In file included from src/driver.h:64, from src/drivers/equites.c:133: src/memory.h: In function 'cpu_readop16': At top level: src/drivers/mainsnk.c:31:13: warning: 'init_sound' defined but not used [-Wunused-function] 31 | static void init_sound( int busy_bit ) | ^~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/hal21.c: In function 'hal21_draw_sprites': src/drivers/hal21.c:241:22: warning: cast increases required alignment of target type [-Wcast-align] 241 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^ src/drivers/hal21.c:241:47: warning: cast increases required alignment of target type [-Wcast-align] 241 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/hal21.c: In function 'aso_draw_sprites': src/drivers/hal21.c:305:22: warning: cast increases required alignment of target type [-Wcast-align] 305 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^ src/drivers/hal21.c:305:47: warning: cast increases required alignment of target type [-Wcast-align] 305 | if (*(UINT32*)sprptr == 0 || *(UINT32*)sprptr == -1) continue; | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tagteam_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/champbas_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/alpha68k.c:169: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/tagteam.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/champbas.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ssozumo_vidhrdw.c... In file included from src/driver.h:64, from src/machine/exctsccr_machine.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ssozumo.c... In file included from src/driver.h:64, from src/vidhrdw/exctsccr_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mystston_vidhrdw.c... src/vidhrdw/prehisle_vidhrdw.c: In function 'prehisle_control16_w': src/memory.h:872:65: warning: 'scroll' is used uninitialized [-Wuninitialized] 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ^ src/vidhrdw/prehisle_vidhrdw.c:55:13: note: 'scroll' was declared here 55 | int scroll; | ^~~~~~ In file included from src/driver.h:64, from src/drivers/exctsccr.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mystston.c... In file included from src/driver.h:64, from src/drivers/scregg.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dogfgt_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/tagteam_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dogfgt.c... In file included from src/driver.h:64, from src/drivers/tagteam.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bogeyman_vidhrdw.c... src/machine/equites_machine.c: In function 'equites_8404init': src/machine/equites_machine.c:246:20: warning: cast increases required alignment of target type [-Wcast-align] 246 | mrulemap = (struct MRULELIST *)byte_ptr; // pointer table to rule lists | ^ src/machine/equites_machine.c:247:21: warning: cast increases required alignment of target type [-Wcast-align] 247 | mrulepool = (struct MRULE *)(byte_ptr + 0x4000); // rules pool | ^ In file included from src/driver.h:64, from src/vidhrdw/ssozumo_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/bogeyman.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ssozumo.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/equites_vidhrdw.c: In function 'video_init_common': src/vidhrdw/equites_vidhrdw.c:49:16: warning: variable 'colortable' set but not used [-Wunused-but-set-variable] 49 | pen_t *colortable; | ^~~~~~~~~~ Compiling src/vidhrdw/matmania_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hal21.c:55: At top level: src/drivers/hal21.c:123:22: warning: 'hal21_videoram_r' defined but not used [-Wunused-function] 123 | static READ_HANDLER( hal21_videoram_r ){ return videoram[offset]; } | ^~~~~~~~~~~~~~~~ src/memory.h:126:50: note: in definition of macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ src/vidhrdw/equites_vidhrdw.c: In function 'video_start_splndrbt': src/vidhrdw/equites_vidhrdw.c:255:20: warning: cast increases required alignment of target type [-Wcast-align] 255 | charram0 = (data16_t*)buf8ptr; | ^ src/vidhrdw/equites_vidhrdw.c:256:20: warning: cast increases required alignment of target type [-Wcast-align] 256 | charram1 = (data16_t*)(buf8ptr + videoram_size); | ^ In file included from src/driver.h:64, from src/vidhrdw/mystston_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/matmania.c... In file included from src/driver.h:64, from src/drivers/mystston.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/maniach.c... In file included from src/driver.h:64, from src/vidhrdw/dogfgt_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': In file included from src/drivers/shougi.c:103: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/renegade_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/dogfgt.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/renegade.c... In file included from src/driver.h:64, from src/vidhrdw/bogeyman_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/bogeyman.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xain_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/xain.c... In file included from src/driver.h:64, from src/drivers/matmania.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/battlane_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/matmania_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/drivers/battlane.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/maniach.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ddragon_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/renegade_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/renegade.c:102: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ddragon.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/chinagat.c... In file included from src/driver.h:64, from src/vidhrdw/xain_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/spdodgeb_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/xain.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/battlane_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spdodgeb.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c: In function 'init_ds3': src/drivers/harddriv.c:3562:65: warning: cast increases required alignment of target type [-Wcast-align] 3562 | (data32_t *)(memory_region(REGION_CPU1 + hdcpu_sound) + ADSP2100_PGM_OFFSET)); | ^ src/drivers/harddriv.c:3565:65: warning: cast increases required alignment of target type [-Wcast-align] 3565 | (data32_t *)(memory_region(REGION_CPU1 + hdcpu_sounddsp) + ADSP2100_PGM_OFFSET)); | ^ src/drivers/harddriv.c: In function 'init_dsk': src/drivers/harddriv.c:3649:21: warning: cast increases required alignment of target type [-Wcast-align] 3649 | hddsk_ram = (data16_t *)(memory_region(REGION_USER3) + 0x40000); | ^ src/drivers/harddriv.c:3654:22: warning: cast increases required alignment of target type [-Wcast-align] 3654 | hddsk_zram = (data16_t *)(memory_region(REGION_USER3) + 0x50000); | ^ src/drivers/harddriv.c:3663:21: warning: cast increases required alignment of target type [-Wcast-align] 3663 | hddsk_rom = (data16_t *)(memory_region(REGION_USER3) + 0x00000); | ^ src/drivers/harddriv.c: In function 'init_dsk2': src/drivers/harddriv.c:3688:21: warning: cast increases required alignment of target type [-Wcast-align] 3688 | hddsk_ram = (data16_t *)(memory_region(REGION_USER3) + 0x100000); | ^ src/drivers/harddriv.c:3692:21: warning: cast increases required alignment of target type [-Wcast-align] 3692 | hddsk_rom = (data16_t *)(memory_region(REGION_USER3) + 0x000000); | ^ In file included from src/driver.h:64, from src/drivers/battlane.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wwfsstar_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c: In function 'steeltal_init_common': src/drivers/harddriv.c:3934:30: warning: cast increases required alignment of target type [-Wcast-align] 3934 | hdds3_speedup_addr = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET) + 0x1f99; | ^ src/drivers/harddriv.c: In function 'init_hdrivair': src/drivers/harddriv.c:3964:30: warning: cast increases required alignment of target type [-Wcast-align] 3964 | hdds3_speedup_addr = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET) + 0x1f99; | ^ src/drivers/harddriv.c: In function 'init_hdrivaip': src/drivers/harddriv.c:3989:30: warning: cast increases required alignment of target type [-Wcast-align] 3989 | hdds3_speedup_addr = (data16_t *)(memory_region(REGION_CPU1 + hdcpu_adsp) + ADSP2100_DATA_OFFSET) + 0x1f9a; | ^ In file included from src/driver.h:64, from src/vidhrdw/ddragon_vidhrdw.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wwfsstar.c... In file included from src/driver.h:64, from src/drivers/ddragon.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/vball_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/harddriv.c:170: At top level: src/drivers/harddriv.c:508:30: warning: 'ds3snd_writemem' defined but not used [-Wunused-const-variable=] 508 | static MEMORY_WRITE16_START( ds3snd_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/harddriv.c:508:8: note: in expansion of macro 'MEMORY_WRITE16_START' 508 | static MEMORY_WRITE16_START( ds3snd_writemem ) | ^~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:478:29: warning: 'ds3snd_readmem' defined but not used [-Wunused-const-variable=] 478 | static MEMORY_READ16_START( ds3snd_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/harddriv.c:478:8: note: in expansion of macro 'MEMORY_READ16_START' 478 | static MEMORY_READ16_START( ds3snd_readmem ) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/chinagat.c:71: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/vball.c... In file included from src/driver.h:64, from src/vidhrdw/spdodgeb_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/blockout_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/spdodgeb.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/blockout.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/wwfsstar_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/ddragon3_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/wwfsstar.c:61: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/ddragon3.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wwfwfest_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/vball_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wwfwfest.c... In file included from src/driver.h:64, from src/drivers/vball.c:90: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/shadfrce_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/blockout_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shadfrce.c... In file included from src/driver.h:64, from src/drivers/blockout.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/berzerk_machine.c... In file included from src/driver.h:64, from src/vidhrdw/ddragon3_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ddragon3.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/berzerk_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/wwfwfest_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/berzerk_sndhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/wwfwfest.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/berzerk.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/alpha68k.c: In function 'init_sbasebal': src/drivers/alpha68k.c:3025:25: warning: cast increases required alignment of target type [-Wcast-align] 3025 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/vidhrdw/shadfrce_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': Compiling src/drivers/mazerbla.c... src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/shadfrce.c:79: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/supdrapo.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/berzerk_machine.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/toratora.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/berzerk_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gameplan_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/berzerk_sndhrdw.c:19: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/gameplan.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/zac2650_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/berzerk.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/zac2650.c... In file included from src/driver.h:64, from src/drivers/mazerbla.c:38: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/supdrapo.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/zaccaria_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/toratora.c:22: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/zaccaria.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/gameplan_vidhrdw.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/vidhrdw/mouser_vidhrdw.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/gameplan.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mouser.c... In file included from src/driver.h:64, from src/drivers/ddragon.c:43: At top level: src/drivers/ddragon.c:295:23: warning: 'cpu_sound_command_w' defined but not used [-Wunused-function] 295 | static WRITE_HANDLER( cpu_sound_command_w ) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:127:42: note: in definition of macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/zac2650_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nova2001_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/zac2650.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/nova2001.c... In file included from src/driver.h:64, from src/vidhrdw/zaccaria_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ninjakid_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/zaccaria.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ninjakid.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/mouser_vidhrdw.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/raiders5_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mouser.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/raiders5.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/nova2001_vidhrdw.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/mazerbla.c: In function 'video_update_mazerbla': src/drivers/mazerbla.c:276:16: warning: variable 'color_base' set but not used [-Wunused-but-set-variable] 276 | UINT32 color_base=0; | ^~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pkunwar_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/nova2001.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pkunwar.c... In file included from src/driver.h:64, from src/vidhrdw/ninjakid_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xxmissio_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ninjakid.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/xxmissio.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/raiders5_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ninjakd2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/raiders5.c:26: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/ninjakd2.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/pkunwar_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/mnight_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/drivers/mazerbla.c:64: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mnight.c... In file included from src/driver.h:64, from src/drivers/pkunwar.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/xxmissio_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/omegaf_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/xxmissio.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/omegaf.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/ninjakd2_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nmk16_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ninjakd2.c:224: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/nmk16.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/ninjakid_vidhrdw.c: In function 'ninjakun_io_8000_w': In file included from src/driver.h:64, from src/vidhrdw/mnight_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/vidhrdw/ninjakid_vidhrdw.c:164:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 164 | else | ^~~~ src/vidhrdw/ninjakid_vidhrdw.c:166:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 166 | ninjakun_xscroll = data; | ^~~~~~~~~~~~~~~~ Compiling src/drivers/jalmah.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mnight.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/quizpani.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/quizpani_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/omegaf_vidhrdw.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/macrossp_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/nmk16_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/macrossp.c... In file included from src/driver.h:64, from src/drivers/omegaf.c:45: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/nmk16.c:137: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/quizdna_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/jalmah.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/quizdna.c... In file included from src/driver.h:64, from src/drivers/quizpani.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/jack_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/quizpani_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/jack.c... In file included from src/driver.h:64, from src/vidhrdw/macrossp_vidhrdw.c:4: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/embargo.c... In file included from src/driver.h:64, from src/drivers/macrossp.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/cinemat_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/quizdna_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cinemat.c... In file included from src/driver.h:64, from src/drivers/quizdna.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/cchasm_machine.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/jack_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/vidhrdw/cchasm_vidhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/jack.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/cchasm_sndhrdw.c... src/vidhrdw/nmk16_vidhrdw.c: In function 'video_update_bioship': src/vidhrdw/nmk16_vidhrdw.c:563:29: warning: cast increases required alignment of target type [-Wcast-align] 563 | data16_t *tilerom = (data16_t *)memory_region(REGION_GFX5); | ^ In file included from src/driver.h:64, from src/drivers/embargo.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/drivers/cchasm.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/cinemat_sndhrdw.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/thepit_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/cinemat.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/thepit.c... Compiling src/vidhrdw/timelimt_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/cchasm_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/cchasm_machine.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/cchasm_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/timelimt.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/bagman_machine.c... In file included from src/driver.h:64, from src/drivers/cchasm.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bagman_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/thepit_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/thepit.c:58: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bagman.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/timelimt_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tankbust_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/timelimt.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tankbust.c... In file included from src/driver.h:64, from src/machine/bagman_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/wiz_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wiz.c... In file included from src/driver.h:64, from src/vidhrdw/bagman_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kncljoe_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/bagman.c:59: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/sndhrdw/cchasm_sndhrdw.c: In function 'cchasm_io_w': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/sndhrdw/cchasm_sndhrdw.c:85:16: warning: variable 'led' set but not used [-Wunused-but-set-variable] 85 | static int led; | ^~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kncljoe.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/tankbust_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/stfight_machine.c... In file included from src/driver.h:64, from src/drivers/tankbust.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/stfight_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/wiz_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/stfight.c... In file included from src/driver.h:64, from src/drivers/wiz.c:160: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cshooter.c... In file included from src/driver.h:64, from src/vidhrdw/kncljoe_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/seibu.c... In file included from src/driver.h:64, from src/drivers/kncljoe.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/deadang_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/stfight_machine.c:10: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/deadang.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dynduke_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/stfight_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/vidhrdw/bagman_vidhrdw.c:11: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/stfight.c:231: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dynduke.c... In file included from src/driver.h:64, from src/drivers/cshooter.c:82: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/raiden_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/seibu.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/raiden.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/deadang_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/deadang.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/raiden2.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c: In function 'init_hachamf': src/drivers/nmk16.c:4222:25: warning: cast increases required alignment of target type [-Wcast-align] 4222 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_acrobatm': src/drivers/nmk16.c:4229:25: warning: cast increases required alignment of target type [-Wcast-align] 4229 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_tdragonb': Compiling src/vidhrdw/dcon_vidhrdw.c... src/drivers/nmk16.c:4243:25: warning: cast increases required alignment of target type [-Wcast-align] 4243 | data16_t *ROM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_tdragon': src/drivers/nmk16.c:4254:25: warning: cast increases required alignment of target type [-Wcast-align] 4254 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_strahl': src/drivers/nmk16.c:4268:25: warning: cast increases required alignment of target type [-Wcast-align] 4268 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_bioship': In file included from src/driver.h:64, from src/vidhrdw/dynduke_vidhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/drivers/nmk16.c:4282:25: warning: cast increases required alignment of target type [-Wcast-align] 4282 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_blkheart': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/nmk16.c:4323:25: warning: cast increases required alignment of target type [-Wcast-align] 4323 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/nmk16.c: In function 'init_mustang': src/drivers/nmk16.c:4341:25: warning: cast increases required alignment of target type [-Wcast-align] 4341 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/drivers/dcon.c... In file included from src/driver.h:64, from src/drivers/dynduke.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sengokmj_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/raiden_vidhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sengokmj.c... In file included from src/driver.h:64, from src/drivers/raiden.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mustache_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/raiden2.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mustache.c... In file included from src/driver.h:64, from src/vidhrdw/dcon_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/cabal_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/dcon.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cabal.c... In file included from src/driver.h:64, from src/vidhrdw/sengokmj_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/toki_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/sengokmj.c:73: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/toki.c... In file included from src/driver.h:64, from src/vidhrdw/mustache_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bloodbro_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mustache.c:72: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bloodbro.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/cabal_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/legionna_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/cabal.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/legionna.c... Compiling src/vidhrdw/goal92_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/toki_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/goal92.c... In file included from src/driver.h:64, from src/drivers/toki.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/bloodbro_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/exerion_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/bloodbro.c:94: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/exerion.c... In file included from src/driver.h:64, from src/vidhrdw/legionna_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/fcombat.c... In file included from src/driver.h:64, from src/drivers/legionna.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/aeroboto_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/goal92_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/aeroboto.c... src/drivers/dcon.c: In function 'init_sdgndmps': src/drivers/dcon.c:411:25: warning: cast increases required alignment of target type [-Wcast-align] 411 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/goal92.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/citycon_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/exerion_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/citycon.c... In file included from src/driver.h:64, from src/drivers/exerion.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/momoko_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/fcombat.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/aeroboto_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/momoko.c... In file included from src/driver.h:64, from src/vidhrdw/citycon_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/aeroboto.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/citycon.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/argus_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/momoko_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/argus.c... Compiling src/vidhrdw/psychic5_vidhrdw.c... Compiling src/drivers/psychic5.c... In file included from src/driver.h:64, from src/drivers/momoko.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ginganin_vidhrdw.c... Compiling src/drivers/ginganin.c... In file included from src/driver.h:64, from src/vidhrdw/argus_vidhrdw.c:117: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/skyfox_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/argus.c:86: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/skyfox.c... Compiling src/vidhrdw/homerun_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/psychic5_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/psychic5.c:312: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/homerun.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/ginganin_vidhrdw.c:59: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/cischeat_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ginganin.c:51: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': Compiling src/drivers/cischeat.c... src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/skyfox_vidhrdw.c:37: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tetrisp2_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tetrisp2.c... In file included from src/driver.h:64, from src/drivers/skyfox.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/homerun_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/megasys1_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/homerun.c:17: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/megasys1.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/cischeat_vidhrdw.c:56: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ms32_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/cischeat.c:152: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/ms32.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/tetrisp2_vidhrdw.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bigstrkb_vidhrdw.c... Compiling src/drivers/bigstrkb.c... In file included from src/driver.h:64, from src/drivers/tetrisp2.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/megasys1_vidhrdw.c:194: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/rpunch_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/megasys1.c:124: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/rpunch.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ginganin.c: In function 'init_ginganin': src/drivers/ginganin.c:448:15: warning: cast increases required alignment of target type [-Wcast-align] 448 | rom = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/ms32.c:167: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tail2nos_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/ms32_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tail2nos.c... In file included from src/driver.h:64, from src/drivers/bigstrkb.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ojankohs_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/rpunch_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ojankohs.c... In file included from src/driver.h:64, from src/vidhrdw/bigstrkb_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fromance_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/rpunch.c:107: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/fromance.c... In file included from src/driver.h:64, from src/vidhrdw/tail2nos_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pipedrm.c... In file included from src/driver.h:64, from src/drivers/tail2nos.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/aerofgt_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/ojankohs_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/aerofgt.c... In file included from src/driver.h:64, from src/drivers/ojankohs.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/welltris_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/fromance_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/welltris.c... src/drivers/cischeat.c: In function 'init_bigrun': src/drivers/cischeat.c:1842:17: warning: cast increases required alignment of target type [-Wcast-align] 1842 | rom_1 = (data16_t *) memory_region(REGION_USER1); | ^ In file included from src/driver.h:64, from src/drivers/fromance.c:42: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/f1gp_vidhrdw.c... src/drivers/cischeat.c: In function 'init_cischeat': src/drivers/cischeat.c:1964:17: warning: cast increases required alignment of target type [-Wcast-align] 1964 | rom_1 = (data16_t *) (memory_region(REGION_USER1) + 0x00000); | ^ src/drivers/cischeat.c:1965:17: warning: cast increases required alignment of target type [-Wcast-align] 1965 | rom_2 = (data16_t *) (memory_region(REGION_CPU2) + 0x40000); | ^ src/drivers/cischeat.c:1966:17: warning: cast increases required alignment of target type [-Wcast-align] 1966 | rom_3 = (data16_t *) (memory_region(REGION_CPU3) + 0x40000); | ^ src/drivers/cischeat.c:1970:17: warning: cast increases required alignment of target type [-Wcast-align] 1970 | rom_2 = (data16_t *) (memory_region(REGION_USER1) + 0x80000); | ^ src/drivers/cischeat.c:1974:17: warning: cast increases required alignment of target type [-Wcast-align] 1974 | rom_3 = (data16_t *) (memory_region(REGION_USER1) + 0xc0000); | ^ In file included from src/driver.h:64, from src/drivers/pipedrm.c:106: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/cischeat.c: In function 'init_f1gpstar': src/drivers/cischeat.c:2191:17: warning: cast increases required alignment of target type [-Wcast-align] 2191 | rom_1 = (data16_t *) memory_region(REGION_USER1); | ^ Compiling src/drivers/f1gp.c... In file included from src/driver.h:64, from src/vidhrdw/aerofgt_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/taotaido_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/aerofgt.c:50: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/taotaido.c... In file included from src/driver.h:64, from src/vidhrdw/welltris_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/crshrace_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/welltris.c:315: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/tail2nos_vidhrdw.c: In function 'video_start_tail2nos': src/vidhrdw/tail2nos_vidhrdw.c:72:20: warning: cast increases required alignment of target type [-Wcast-align] 72 | zoomdata = (data16_t *)memory_region(REGION_GFX3); | ^ Compiling src/drivers/crshrace.c... In file included from src/driver.h:64, from src/vidhrdw/f1gp_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gstriker_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/f1gp.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gstriker.c... In file included from src/driver.h:64, from src/vidhrdw/taotaido_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/suprslam_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/taotaido.c:66: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/suprslam.c... In file included from src/driver.h:64, from src/vidhrdw/crshrace_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fromanc2_vidhrdw.c... Compiling src/drivers/fromanc2.c... In file included from src/driver.h:64, from src/drivers/crshrace.c:126: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/aerofgt_vidhrdw.c: In function 'video_start_spinlbrk': src/vidhrdw/aerofgt_vidhrdw.c:145:30: warning: cast increases required alignment of target type [-Wcast-align] 145 | aerofgt_spriteram2 = (data16_t *)memory_region(REGION_GFX5); | ^ In file included from src/driver.h:64, from src/vidhrdw/gstriker_vidhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/inufuku_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gstriker.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/inufuku.c... Compiling src/vidhrdw/psikyo_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/suprslam_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/suprslam.c:83: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/psikyo.c... In file included from src/driver.h:64, from src/vidhrdw/fromanc2_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/psikyosh_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/f1gp_vidhrdw.c: In function 'video_start_f1gp': src/vidhrdw/f1gp_vidhrdw.c:72:20: warning: cast increases required alignment of target type [-Wcast-align] 72 | zoomdata = (data16_t *)memory_region(REGION_GFX4); | ^ src/vidhrdw/f1gp_vidhrdw.c: In function 'video_start_f1gp2': src/vidhrdw/f1gp_vidhrdw.c:98:20: warning: cast increases required alignment of target type [-Wcast-align] 98 | zoomdata = (data16_t *)memory_region(REGION_GFX4); | ^ src/vidhrdw/f1gp_vidhrdw.c: In function 'f1gp_drawsprites': src/vidhrdw/f1gp_vidhrdw.c:205:73: warning: variable 'pri' set but not used [-Wunused-but-set-variable] 205 | int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; | ^~~ In file included from src/driver.h:64, from src/drivers/fromanc2.c:24: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/psikyosh.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/taotaido_vidhrdw.c: In function 'taotaido_tileregs_w': src/vidhrdw/taotaido_vidhrdw.c:160:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 160 | if(ACCESSING_LSB) | ^~ src/vidhrdw/taotaido_vidhrdw.c:162:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 162 | tilemap_mark_all_tiles_dirty(bg_tilemap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/inufuku_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/psikyo4_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/inufuku.c:70: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/psikyo4.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/psikyo_vidhrdw.c:57: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/8254pit.c... In file included from src/driver.h:64, from src/drivers/psikyo.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/leland.c... src/drivers/ms32.c: In function 'init_tp2m32': src/drivers/ms32.c:2295:26: warning: cast increases required alignment of target type [-Wcast-align] 2295 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^ src/drivers/ms32.c: In function 'init_f1superb': In file included from src/driver.h:64, from src/vidhrdw/psikyosh_vidhrdw.c:92: src/memory.h: In function 'cpu_readop16': src/drivers/ms32.c:2304:26: warning: cast increases required alignment of target type [-Wcast-align] 2304 | data32_t *pROM = (data32_t *)memory_region(REGION_CPU1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/leland_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/psikyosh.c:121: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/leland_machine.c... In file included from src/driver.h:64, from src/vidhrdw/psikyo4_vidhrdw.c:29: src/memory.h: In function 'cpu_readop16': Compiling src/sndhrdw/leland_sndhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ataxx.c... In file included from src/driver.h:64, from src/drivers/psikyo4.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/8254pit.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/marineb_vidhrdw.c... Compiling src/drivers/marineb.c... src/drivers/crshrace.c: In function 'crshrace_patch_code': src/drivers/crshrace.c:733:25: warning: cast increases required alignment of target type [-Wcast-align] 733 | data16_t *RAM = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/vidhrdw/funkybee_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/leland.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/leland_sndhrdw.c:80: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/leland_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/funkybee.c... In file included from src/driver.h:64, from src/machine/leland_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c: In function 'phantasm_rom_decode': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3195:41: warning: cast increases required alignment of target type [-Wcast-align] 3195 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1+cpu); | ^ In file included from src/driver.h:64, from src/drivers/ataxx.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/zodiack_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c: In function 'astyanax_rom_decode': src/drivers/megasys1.c:3229:41: warning: cast increases required alignment of target type [-Wcast-align] 3229 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1+cpu); | ^ Compiling src/drivers/zodiack.c... src/drivers/megasys1.c: In function 'rodland_rom_decode': src/drivers/megasys1.c:3263:41: warning: cast increases required alignment of target type [-Wcast-align] 3263 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1+cpu); | ^ In file included from src/driver.h:64, from src/vidhrdw/marineb_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/espial_vidhrdw.c... src/drivers/megasys1.c: In function 'init_astyanax': src/drivers/megasys1.c:3379:15: warning: cast increases required alignment of target type [-Wcast-align] 3379 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/drivers/megasys1.c: In function 'init_hachoo': In file included from src/driver.h:64, from src/drivers/marineb.c:38: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/espial.c... src/drivers/megasys1.c:3440:16: warning: cast increases required alignment of target type [-Wcast-align] 3440 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/drivers/megasys1.c: In function 'init_iganinju': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/megasys1.c:3450:16: warning: cast increases required alignment of target type [-Wcast-align] 3450 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/drivers/megasys1.c: In function 'init_jitsupro': src/drivers/megasys1.c:3470:26: warning: cast increases required alignment of target type [-Wcast-align] 3470 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/drivers/megasys1.c: In function 'init_plusalph': src/drivers/megasys1.c:3502:16: warning: cast increases required alignment of target type [-Wcast-align] 3502 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/drivers/megasys1.c: In function 'init_stdragon': src/drivers/megasys1.c:3534:16: warning: cast increases required alignment of target type [-Wcast-align] 3534 | RAM = (data16_t *) memory_region(REGION_CPU1); | ^ Compiling src/vidhrdw/vastar_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/funkybee_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': In file included from src/driver.h:64, from src/drivers/funkybee.c:46: src/memory.h: In function 'cpu_readop16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/vastar.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/zodiack_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xorworld_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/zodiack.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/xorworld.c... In file included from src/driver.h:64, from src/vidhrdw/espial_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/splash_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/espial.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/splash.c... In file included from src/driver.h:64, from src/vidhrdw/vastar_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/thoop2_vidhrdw.c... Compiling src/drivers/thoop2.c... In file included from src/driver.h:64, from src/drivers/vastar.c:64: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sndhrdw/leland_sndhrdw.c: In function 'pit8254_r': src/sndhrdw/leland_sndhrdw.c:1561:31: warning: variable 'ctr' set but not used [-Wunused-but-set-variable] 1561 | struct counter_state *ctr; | ^~~ In file included from src/driver.h:64, from src/vidhrdw/xorworld_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gaelco_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/xorworld.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gaelco.c... In file included from src/driver.h:64, from src/vidhrdw/splash_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/wrally_machine.c... Compiling src/vidhrdw/wrally_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/splash.c:9: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/thoop2_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wrally.c... In file included from src/driver.h:64, from src/drivers/thoop2.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/targeth_vidhrdw.c... Compiling src/drivers/targeth.c... In file included from src/driver.h:64, from src/vidhrdw/gaelco_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/gaelco2_machine.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/wrally_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gaelco2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gaelco.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/gaelco2.c... In file included from src/driver.h:64, from src/vidhrdw/wrally_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/wrally.c:79: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/glass_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/targeth_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/xorworld.c: In function 'init_xorworld': src/drivers/xorworld.c:74:25: warning: cast increases required alignment of target type [-Wcast-align] 74 | data16_t *rom = (data16_t *)(memory_region(REGION_CPU1) + 0x1390); | ^ In file included from src/driver.h:64, from src/drivers/targeth.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/glass.c... In file included from src/drivers/zodiack.c:21: At top level: src/driver.h:98:14: warning: 'construct_moguchan' defined but not used [-Wunused-function] 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~ src/drivers/zodiack.c:542:8: note: in expansion of macro 'MACHINE_DRIVER_START' 542 | static MACHINE_DRIVER_START( moguchan ) | ^~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/airbustr_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/gaelco2_vidhrdw.c:79: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/airbustr.c... Compiling src/vidhrdw/djboy_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gaelco2.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/djboy.c... In file included from src/driver.h:64, from src/vidhrdw/glass_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/galpanic_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/glass.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/drivers/galpanic.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/airbustr_vidhrdw.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/galpani2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/airbustr.c:188: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/machine/gaelco2_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h: In function 'cpu_readop32': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/galpani2.c... In file included from src/driver.h:64, from src/vidhrdw/djboy_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/jchan.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/djboy.c:67: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kaneko16_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kaneko16.c... In file included from src/driver.h:64, from src/vidhrdw/galpanic_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/galpanic.c:95: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/suprnova_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/galpani2_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/galpani2.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/jchan.c:152: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/suprnova.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/kaneko16_vidhrdw.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/pd4990a.c... In file included from src/driver.h:64, from src/drivers/kaneko16.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/neocrypt.c... In file included from src/driver.h:64, from src/vidhrdw/suprnova_vidhrdw.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/neogeo_machine.c... Compiling src/vidhrdw/neogeo_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/suprnova.c:176: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/neogeo.c... Compiling src/vidhrdw/hanaawas_vidhrdw.c... In file included from src/driver.h:64, from src/machine/pd4990a.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hanaawas.c... Compiling src/vidhrdw/speedatk_vidhrdw.c... In file included from src/driver.h:64, from src/machine/neocrypt.c:59: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/galpani2.c: In function 'galpani2_bankedrom_r': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/galpani2.c:288:25: warning: cast increases required alignment of target type [-Wcast-align] 288 | data16_t *ROM = (data16_t *) memory_region( REGION_USER1 ); | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/neogeo_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/speedatk.c... In file included from src/driver.h:64, from src/vidhrdw/neogeo_vidhrdw.c:52: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/srmp2_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/srmp2.c... In file included from src/driver.h:64, from src/drivers/neogeo.c:264: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/hanaawas_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/seta_vidhrdw.c... src/drivers/kaneko16.c: In function 'gtmr_wheel_r': src/drivers/kaneko16.c:1192:42: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 1192 | if ( (readinputport(4) & 0x1800) == 0x10) // DSW setting | ^~ In file included from src/driver.h:64, from src/drivers/hanaawas.c:32: src/memory.h: In function 'cpu_readop16': src/vidhrdw/suprnova_vidhrdw.c: In function 'skns_drawsprites': src/vidhrdw/suprnova_vidhrdw.c:276:47: warning: variable 'pri' set but not used [-Wunused-but-set-variable] 276 | int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint; | ^~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/seta.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/suprnova_vidhrdw.c: In function 'video_update_skns': src/vidhrdw/suprnova_vidhrdw.c:703:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 703 | if (!(skns_v3_regs[0x0c/4] & 0x0100)); // if tilemap b is in 8bpp mode | ^~ src/vidhrdw/suprnova_vidhrdw.c:704:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 704 | { | ^ src/vidhrdw/suprnova_vidhrdw.c:729:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 729 | if (skns_v3_regs[0x0c/4] & 0x0100); // if tilemap b is in 4bpp mode | ^~ src/vidhrdw/suprnova_vidhrdw.c:730:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 730 | { | ^ In file included from src/driver.h:64, from src/vidhrdw/speedatk_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/vidhrdw/seta2_vidhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/seta2.c... In file included from src/driver.h:64, from src/vidhrdw/srmp2_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ssv_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/speedatk.c:77: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/srmp2.c:58: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/ssv.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/suprnova.c: In function 'palette_set_rgb_brightness': src/drivers/suprnova.c:784:34: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 784 | int use_bright, r, g, b, alpha; | ^~~~~ src/drivers/suprnova.c: In function 'skns_palette_ram_w': In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/seta_vidhrdw.c:138: src/memory.h: In function 'cpu_readop16': src/drivers/suprnova.c:892:55: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 892 | int brightness_r, brightness_g, brightness_b, alpha; | ^~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/powerins_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/seta.c:1083: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/powerins.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c: In function 'init_neogeo': src/machine/neogeo_machine.c:109:27: warning: cast increases required alignment of target type [-Wcast-align] 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ src/machine/neogeo_machine.c:196:17: warning: cast increases required alignment of target type [-Wcast-align] 196 | mem16 = (data16_t *)memory_region(REGION_USER1); | ^ src/machine/neogeo_machine.c:109:19: warning: variable 'mem16' set but not used [-Wunused-but-set-variable] 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~ In file included from src/driver.h:64, from src/vidhrdw/seta2_vidhrdw.c:73: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': Compiling src/vidhrdw/ohmygod_vidhrdw.c... src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/machine/neogeo_machine.c: In function 'neogeo_custom_memory': src/machine/neogeo_machine.c:632:35: warning: cast increases required alignment of target type [-Wcast-align] 632 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ src/machine/neogeo_machine.c:645:35: warning: cast increases required alignment of target type [-Wcast-align] 645 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ src/machine/neogeo_machine.c:658:35: warning: cast increases required alignment of target type [-Wcast-align] 658 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ src/machine/neogeo_machine.c:666:35: warning: cast increases required alignment of target type [-Wcast-align] 666 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/seta2.c:168: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ohmygod.c... In file included from src/driver.h:64, from src/vidhrdw/ssv_vidhrdw.c:132: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/blmbycar_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/blmbycar.c... In file included from src/driver.h:64, from src/drivers/ssv.c:105: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/powerins_vidhrdw.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/route16_vidhrdw.c... Compiling src/drivers/route16.c... In file included from src/driver.h:64, from src/drivers/powerins.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ttmahjng_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/ohmygod_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ohmygod.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ttmahjng.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/srmp2.c: In function 'init_srmp2': src/drivers/srmp2.c:105:25: warning: cast increases required alignment of target type [-Wcast-align] 105 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/vidhrdw/blmbycar_vidhrdw.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kangaroo_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/blmbycar.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kangaroo.c... In file included from src/driver.h:64, from src/vidhrdw/route16_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/arabian_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/route16.c:70: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/arabian.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/ttmahjng_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/markham_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/markham.c... In file included from src/driver.h:64, from src/drivers/ttmahjng.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/kangaroo_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/strnskil_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/kangaroo.c:119: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/strnskil.c... Compiling src/vidhrdw/ikki_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/arabian_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ikki.c... In file included from src/driver.h:64, from src/drivers/arabian.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/markham_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shanghai.c... In file included from src/driver.h:64, from src/drivers/markham.c:11: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/shangha3_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/strnskil_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shangha3.c... src/vidhrdw/route16_vidhrdw.c: In function 'route16_out0_w': src/vidhrdw/route16_vidhrdw.c:77:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 77 | video_disable_1 = ((data & 0x02) << 6) && route16_hardware; | ~~~~~~~~~~~~~~~^~~~~ src/vidhrdw/route16_vidhrdw.c: In function 'route16_out1_w': src/vidhrdw/route16_vidhrdw.c:96:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 96 | video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware; | ~~~~~~~~~~~~~~~^~~~~~ In file included from src/driver.h:64, from src/drivers/strnskil.c:11: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/goindol_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/ikki_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/drivers/blmbycar.c: In function 'init_blmbycar': src/drivers/blmbycar.c:368:26: warning: cast increases required alignment of target type [-Wcast-align] 368 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/goindol.c... In file included from src/driver.h:64, from src/drivers/ikki.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/suna8_vidhrdw.c... src/drivers/seta2.c: In function 'init_gundamex': src/drivers/seta2.c:1606:25: warning: cast increases required alignment of target type [-Wcast-align] 1606 | data16_t *ROM = (data16_t *)memory_region( REGION_CPU1 ); | ^ In file included from src/driver.h:64, from src/drivers/shanghai.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/suna8.c... In file included from src/driver.h:64, from src/vidhrdw/shangha3_vidhrdw.c:61: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/suna16_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/shangha3.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/suna16.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/arabian_vidhrdw.c: In function 'palette_init_arabian': src/vidhrdw/arabian_vidhrdw.c:96:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; | ^~~~~ src/vidhrdw/arabian_vidhrdw.c:127:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; | ^~~~~ src/vidhrdw/arabian_vidhrdw.c:148:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 148 | int bbase = (!abhf & az) ? 0 : ab; | ^~~~~ Compiling src/vidhrdw/gundealr_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/goindol_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/goindol.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gundealr.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dooyong_vidhrdw.c... Compiling src/drivers/dooyong.c... In file included from src/driver.h:64, from src/drivers/suna8.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/suna16_vidhrdw.c:60: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/suna8_vidhrdw.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/leprechn_machine.c... In file included from src/driver.h:64, from src/drivers/suna16.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/vidhrdw/leprechn_vidhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/gundealr_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/leprechn.c... In file included from src/driver.h:64, from src/drivers/gundealr.c:49: src/memory.h: In function 'cpu_readop16': Compiling src/machine/beezer_machine.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/dooyong_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/beezer_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/dooyong.c:42: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/beezer.c... In file included from src/driver.h:64, from src/machine/leprechn_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pushman_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/leprechn_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pushman.c... In file included from src/driver.h:64, from src/drivers/leprechn.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/zerozone_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/beezer_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/zerozone.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/galspnbl_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/beezer_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/beezer.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/galspnbl.c... In file included from src/driver.h:64, from src/vidhrdw/pushman_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sslam_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/pushman.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sslam.c... In file included from src/driver.h:64, from src/vidhrdw/zerozone_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/playmark_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/zerozone.c:29: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/playmark.c... In file included from src/driver.h:64, from src/vidhrdw/galspnbl_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/thief_vidhrdw.c... src/drivers/suna16.c: In function 'init_uballoon': src/drivers/suna16.c:794:25: warning: cast increases required alignment of target type [-Wcast-align] 794 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^ Compiling src/drivers/thief.c... In file included from src/driver.h:64, from src/drivers/galspnbl.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mrflea_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/sslam_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sslam.c:37: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/mrflea.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/holeland_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/playmark_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/playmark.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/holeland.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/thief_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/speedbal_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/thief.c:29: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/speedbal.c... In file included from src/driver.h:64, from src/vidhrdw/mrflea_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/sauro_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mrflea.c:42: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sauro.c... In file included from src/driver.h:64, from src/vidhrdw/holeland_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/metro_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/holeland.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/metro.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/hyprduel_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/speedbal_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/speedbal.c:46: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hyprduel.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/sauro_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/spcforce_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sauro.c:76: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/drivers/spcforce.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/metro_vidhrdw.c:54: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/looping.c... In file included from src/driver.h:64, from src/drivers/metro.c:79: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/paradise_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/hyprduel_vidhrdw.c:57: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/paradise.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/seta.c: In function 'init_metafox': src/drivers/seta.c:8141:25: warning: cast increases required alignment of target type [-Wcast-align] 8141 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/drivers/seta.c: In function 'init_kiwame': In file included from src/driver.h:64, from src/drivers/hyprduel.c:23: src/memory.h: In function 'cpu_readop16': src/drivers/seta.c:8204:25: warning: cast increases required alignment of target type [-Wcast-align] 8204 | data16_t *RAM = (data16_t *) memory_region(REGION_CPU1); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/yunsung8_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/spcforce_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/yunsung8.c... In file included from src/driver.h:64, from src/drivers/spcforce.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/yunsun16_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/looping.c:61: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/yunsun16.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/paradise_vidhrdw.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/blueprnt_vidhrdw.c... Compiling src/drivers/blueprnt.c... In file included from src/driver.h:64, from src/drivers/paradise.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/yunsung8_vidhrdw.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fuukifg2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/yunsung8.c:31: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/fuukifg2.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/yunsun16_vidhrdw.c:23: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/fuukifg3_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/yunsun16.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/fuukifg3.c... In file included from src/driver.h:64, from src/vidhrdw/blueprnt_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/drgnmst_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/blueprnt.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/drgnmst.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/fuukifg2_vidhrdw.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/unico_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/fuukifg2.c:37: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/unico.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/fuukifg3_vidhrdw.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/silkroad_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/fuukifg3.c:92: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/silkroad.c... Compiling src/vidhrdw/afega_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/drgnmst_vidhrdw.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/drgnmst.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/afega.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/unico_vidhrdw.c:39: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/esd16_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/unico.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/esd16.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/silkroad_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/royalmah.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/silkroad.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/hnayayoi_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/afega_vidhrdw.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hnayayoi.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/afega.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dynax_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/esd16_vidhrdw.c:36: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/dynax.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/esd16.c:29: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ddenlovr.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/royalmah.c:76: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/realbrk.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/realbrk_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hnayayoi.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/crtc6845.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/fuukifg3.c:92: At top level: src/drivers/fuukifg3.c:168:24: warning: 'fuuki32_sound_command_r' defined but not used [-Wunused-function] 168 | static READ32_HANDLER( fuuki32_sound_command_r ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ src/drivers/fuukifg3.c:158:25: warning: 'fuuki32_sound_command_w' defined but not used [-Wunused-function] 158 | static WRITE32_HANDLER( fuuki32_sound_command_w ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:42: note: in definition of macro 'WRITE32_HANDLER' 131 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/dynax_vidhrdw.c:25: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/vidhrdw/hnayayoi_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nyny_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/dynax.c:71: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/nyny.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/ddenlovr.c:79: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/realbrk.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/r2dtank.c... In file included from src/driver.h:64, from src/vidhrdw/realbrk_vidhrdw.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/spiders_machine.c... In file included from src/driver.h:64, from src/vidhrdw/crtc6845.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/spiders_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/nyny_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spiders.c... Compiling src/vidhrdw/iqblock_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/nyny.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/iqblock.c... In file included from src/driver.h:64, from src/drivers/r2dtank.c:39: src/memory.h: In function 'cpu_readop16': src/drivers/metro.c: In function 'init_karatour': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/metro.c:4173:25: warning: cast increases required alignment of target type [-Wcast-align] 4173 | data16_t *RAM = (data16_t *) memory_region( REGION_USER1 ); | ^ Compiling src/drivers/chindrag.c... src/drivers/metro.c:4178:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4178 | for (i = 0;i < memory_region_length(REGION_USER1)/2;i++) | ^~~ src/drivers/metro.c:4180:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4180 | init_metro(); | ^~~~~~~~~~ In file included from src/driver.h:64, from src/machine/spiders_machine.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/grtwall.c... src/vidhrdw/dynax_vidhrdw.c: In function 'hanamai_copylayer': src/vidhrdw/dynax_vidhrdw.c:654:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 654 | int dy,length,pen,offs; | ^~~~ src/vidhrdw/dynax_vidhrdw.c: In function 'mjdialq2_copylayer': src/vidhrdw/dynax_vidhrdw.c:711:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 711 | int dy,length,pen,offs; | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/spiders_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pgm_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/spiders.c:164: src/memory.h: In function 'cpu_readop16': src/vidhrdw/hnayayoi_vidhrdw.c: In function 'draw_layer_interleaved': src/vidhrdw/hnayayoi_vidhrdw.c:222:31: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 222 | int county,countx,pen,offs; | ^~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pgm.c... Compiling src/machine/pgmprot_machine.c... In file included from src/driver.h:64, from src/vidhrdw/iqblock_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/pgmcrypt.c... In file included from src/driver.h:64, from src/drivers/iqblock.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/hitme_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/chindrag.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hitme.c... In file included from src/driver.h:64, from src/drivers/grtwall.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/pgm_vidhrdw.c:4: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/starcrus_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/pgm.c:87: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/starcrus.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/pgmprot_machine.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/battlex_vidhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/machine/pgmcrypt.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/battlex.c... In file included from src/driver.h:64, from src/vidhrdw/hitme_vidhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/carjmbre_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hitme.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/carjmbre.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/popper_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/starcrus_vidhrdw.c:4: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/starcrus.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': Compiling src/drivers/popper.c... src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/battlex_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/speedspn_vidhrdw.c... In file included from src/drivers/ddenlovr.c:79: At top level: src/drivers/ddenlovr.c:2090:23: warning: 'rtc_irq' defined but not used [-Wunused-function] 2090 | static INTERRUPT_GEN( rtc_irq ) | ^~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ In file included from src/driver.h:64, from src/drivers/battlex.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/neogeo.c: In function 'init_kof99': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/chindrag.c: In function 'dw_decrypt': src/drivers/chindrag.c:122:25: warning: cast increases required alignment of target type [-Wcast-align] 122 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); | ^ Compiling src/drivers/speedspn.c... src/drivers/neogeo.c:5684:15: warning: cast increases required alignment of target type [-Wcast-align] 5684 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/carjmbre_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/neogeo.c:5703:15: warning: cast increases required alignment of target type [-Wcast-align] 5703 | rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/grtwall.c: In function 'gw_decrypt': src/drivers/grtwall.c:95:25: warning: cast increases required alignment of target type [-Wcast-align] 95 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)); | ^ src/drivers/neogeo.c: In function 'init_garou': src/drivers/neogeo.c:5722:15: warning: cast increases required alignment of target type [-Wcast-align] 5722 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ Compiling src/vidhrdw/kickgoal_vidhrdw.c... src/drivers/neogeo.c:5730:15: warning: cast increases required alignment of target type [-Wcast-align] 5730 | rom = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/drivers/carjmbre.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/neogeo.c:5737:15: warning: cast increases required alignment of target type [-Wcast-align] 5737 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ src/drivers/neogeo.c: In function 'init_garouo': src/drivers/neogeo.c:5761:15: warning: cast increases required alignment of target type [-Wcast-align] 5761 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ Compiling src/drivers/kickgoal.c... src/drivers/neogeo.c:5769:15: warning: cast increases required alignment of target type [-Wcast-align] 5769 | rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/neogeo.c:5776:15: warning: cast increases required alignment of target type [-Wcast-align] 5776 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ In file included from src/driver.h:64, from src/vidhrdw/popper_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/neogeo.c: In function 'init_mslug3': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/usgames_vidhrdw.c... src/drivers/neogeo.c:5800:15: warning: cast increases required alignment of target type [-Wcast-align] 5800 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ src/machine/pgmcrypt.c: In function 'pgm_kov_decrypt': src/machine/pgmcrypt.c:28:25: warning: cast increases required alignment of target type [-Wcast-align] 28 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^ src/machine/pgmcrypt.c: In function 'pgm_kovsh_decrypt': src/machine/pgmcrypt.c:90:25: warning: cast increases required alignment of target type [-Wcast-align] 90 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^ src/machine/pgmcrypt.c: In function 'pgm_dw2_decrypt': src/machine/pgmcrypt.c:131:25: warning: cast increases required alignment of target type [-Wcast-align] 131 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^ src/machine/pgmcrypt.c: In function 'pgm_djlzz_decrypt': src/machine/pgmcrypt.c:173:25: warning: cast increases required alignment of target type [-Wcast-align] 173 | data16_t *src = (data16_t *) (memory_region(REGION_CPU1)+0x100000); | ^ src/drivers/neogeo.c:5808:15: warning: cast increases required alignment of target type [-Wcast-align] 5808 | rom = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/popper.c:81: src/memory.h: In function 'cpu_readop16': src/drivers/neogeo.c:5815:15: warning: cast increases required alignment of target type [-Wcast-align] 5815 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/neogeo.c: In function 'init_kof2000': Compiling src/drivers/usgames.c... src/drivers/neogeo.c:5837:15: warning: cast increases required alignment of target type [-Wcast-align] 5837 | rom = (data16_t *)(memory_region(REGION_CPU1) + 0x100000); | ^ src/drivers/neogeo.c:5856:15: warning: cast increases required alignment of target type [-Wcast-align] 5856 | rom = (data16_t *)memory_region(REGION_CPU1); | ^ src/drivers/neogeo.c: In function 'kof98_prot_w': In file included from src/driver.h:64, from src/vidhrdw/speedspn_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/mermaid_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/neogeo.c:5974:25: warning: cast increases required alignment of target type [-Wcast-align] 5974 | UINT16* mem16 = (UINT16*)memory_region(REGION_CPU1); | ^ src/drivers/pgm.c: In function 'init_dragwld2': src/drivers/pgm.c:603:27: warning: cast increases required alignment of target type [-Wcast-align] 603 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/dynax.c:71: At top level: src/drivers/dynax.c:795:30: warning: 'roldfrog_writemem' defined but not used [-Wunused-const-variable=] 795 | static MEMORY_WRITE16_START( roldfrog_writemem ) | ^~~~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/dynax.c:795:8: note: in expansion of macro 'MEMORY_WRITE16_START' 795 | static MEMORY_WRITE16_START( roldfrog_writemem ) | ^~~~~~~~~~~~~~~~~~~~ src/drivers/dynax.c:785:29: warning: 'roldfrog_readmem' defined but not used [-Wunused-const-variable=] 785 | static MEMORY_READ16_START( roldfrog_readmem ) | ^~~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, | ^ src/drivers/dynax.c:785:8: note: in expansion of macro 'MEMORY_READ16_START' 785 | static MEMORY_READ16_START( roldfrog_readmem ) | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/speedspn.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mermaid.c... In file included from src/driver.h:64, from src/vidhrdw/kickgoal_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/drmicro_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/kickgoal.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/drmicro.c... In file included from src/driver.h:64, from src/vidhrdw/usgames_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/appoooh_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/usgames.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/appoooh.c... In file included from src/driver.h:64, from src/vidhrdw/mermaid_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bankp_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mermaid.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/bankp.c... In file included from src/driver.h:64, from src/vidhrdw/drmicro_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mjkjidai_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/drmicro.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mjkjidai.c... In file included from src/driver.h:64, from src/vidhrdw/appoooh_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mayumi_vidhrdw.c... Compiling src/drivers/mayumi.c... In file included from src/driver.h:64, from src/vidhrdw/bankp_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/btoads_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/appoooh.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/bankp.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/btoads.c... src/drivers/kickgoal.c: In function 'init_kickgoal': src/drivers/kickgoal.c:265:25: warning: cast increases required alignment of target type [-Wcast-align] 265 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/vidhrdw/mjkjidai_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kinst_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mjkjidai.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kinst.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/mayumi_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/freekick_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mayumi.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/freekick.c... In file included from src/driver.h:64, from src/vidhrdw/btoads_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': Compiling src/drivers/rmhaihai.c... src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/btoads.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hanaroku.c... In file included from src/driver.h:64, from src/vidhrdw/kinst_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/yumefuda.c... In file included from src/driver.h:64, from src/drivers/kinst.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/homedata_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/freekick_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/homedata.c... In file included from src/driver.h:64, from src/drivers/freekick.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/artmagic_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/rmhaihai.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/artmagic.c... In file included from src/driver.h:64, from src/drivers/hanaroku.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/shangkid_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/yumefuda.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/shangkid.c... In file included from src/driver.h:64, from src/vidhrdw/homedata_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/astinvad_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/homedata.c:219: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/astinvad_sndhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/artmagic_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/astinvad.c... In file included from src/driver.h:64, from src/drivers/artmagic.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/spacefb_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/shangkid_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spacefb.c... In file included from src/driver.h:64, from src/drivers/shangkid.c:51: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/omegrace.c... In file included from src/driver.h:64, from src/vidhrdw/astinvad_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dday_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/astinvad_sndhrdw.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dday.c... In file included from src/driver.h:64, from src/drivers/astinvad.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/hexa_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/spacefb_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hexa.c... In file included from src/driver.h:64, from src/drivers/spacefb.c:125: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/redalert_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/omegrace.c:219: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/redalert_sndhrdw.c... src/vidhrdw/artmagic_vidhrdw.c: In function 'video_start_artmagic': src/vidhrdw/artmagic_vidhrdw.c:60:24: warning: cast increases required alignment of target type [-Wcast-align] 60 | blitter_base = (UINT16 *)memory_region(REGION_GFX1); | ^ In file included from src/driver.h:64, from src/vidhrdw/dday_vidhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/redalert.c... In file included from src/driver.h:64, from src/drivers/dday.c:52: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/stactics_machine.c... In file included from src/driver.h:64, from src/vidhrdw/hexa_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/stactics_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hexa.c:34: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/stactics.c... In file included from src/driver.h:64, from src/vidhrdw/redalert_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/kingobox_vidhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/redalert_sndhrdw.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/kingobox.c... In file included from src/driver.h:64, from src/drivers/redalert.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ambush_vidhrdw.c... In file included from src/driver.h:64, from src/machine/stactics_machine.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ambush.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/stactics_vidhrdw.c:61: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dlair.c... In file included from src/driver.h:64, from src/drivers/stactics.c:45: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/vidhrdw/aztarac_vidhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/kingobox_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/aztarac_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/kingobox.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/aztarac.c... In file included from src/driver.h:64, from src/vidhrdw/ambush_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mole_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ambush.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mole.c... In file included from src/driver.h:64, from src/drivers/dlair.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gotya_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/aztarac_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/gotya_sndhrdw.c... In file included from src/driver.h:64, from src/sndhrdw/aztarac_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gotya.c... In file included from src/driver.h:64, from src/drivers/aztarac.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mrjong_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/mole_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mrjong.c... Compiling src/vidhrdw/polyplay_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/gotya_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/polyplay_sndhrdw.c... src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sndhrdw/gotya_sndhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mole.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/polyplay.c... In file included from src/driver.h:64, from src/drivers/gotya.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/amspdwy_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/mrjong_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/amspdwy.c... In file included from src/driver.h:64, from src/drivers/mrjong.c:45: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/othldrby_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/polyplay_vidhrdw.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/othldrby.c... In file included from src/driver.h:64, from src/sndhrdw/polyplay_sndhrdw.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/aztarac.c: In function 'nvram_r': Compiling src/vidhrdw/mosaic_vidhrdw.c... src/drivers/aztarac.c:49:17: warning: cast increases required alignment of target type [-Wcast-align] 49 | return ((data16_t *)generic_nvram)[offset] | 0xfff0; | ^ In file included from src/driver.h:64, from src/drivers/polyplay.c:81: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mosaic.c... In file included from src/driver.h:64, from src/vidhrdw/amspdwy_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spdbuggy.c... In file included from src/driver.h:64, from src/drivers/amspdwy.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sprcros2_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/othldrby_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sprcros2.c... In file included from src/driver.h:64, from src/drivers/othldrby.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mugsmash_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/mosaic_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mugsmash.c... In file included from src/driver.h:64, from src/drivers/mosaic.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/stlforce_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/spdbuggy.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/stlforce.c... In file included from src/driver.h:64, from src/vidhrdw/sprcros2_vidhrdw.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gcpinbal_vidhrdw.c... Compiling src/drivers/gcpinbal.c... In file included from src/driver.h:64, from src/vidhrdw/mugsmash_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sprcros2.c:57: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/aquarium_vidhrdw.c... src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/stlforce_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/mugsmash.c:42: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/aquarium.c... In file included from src/driver.h:64, from src/drivers/stlforce.c:72: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/gcpinbal_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': Compiling src/vidhrdw/policetr_vidhrdw.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/gcpinbal.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/policetr.c... In file included from src/driver.h:64, from src/vidhrdw/aquarium_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pass_vidhrdw.c... Compiling src/drivers/pass.c... In file included from src/mame.h:13, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/neogeo.c:264: In function 'memcpy', inlined from 'kof98P1decode' at src/drivers/neogeo.c:5966:2, inlined from 'init_kof98' at src/drivers/neogeo.c:5997:2: /usr/include/fortify/string.h:53:16: warning: '__builtin_memcpy' accessing 4194304 bytes at offsets 1048576 and 2097152 overlaps 3145728 bytes at offset 2097152 [-Wrestrict] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/news_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/aquarium.c:48: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/news.c... In file included from src/driver.h:64, from src/vidhrdw/policetr_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/taxidrvr_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/policetr.c:63: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/taxidrvr.c... In file included from src/driver.h:64, from src/vidhrdw/pass_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/xyonix_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/pass.c:102: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/xyonix.c... In file included from src/driver.h:64, from src/vidhrdw/news_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/findout.c... Compiling src/vidhrdw/dribling_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/taxidrvr_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dribling.c... In file included from src/driver.h:64, from src/drivers/news.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/taxidrvr.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ace.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/xyonix_vidhrdw.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/clayshoo_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/xyonix.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/clayshoo_machine.c... In file included from src/driver.h:64, from src/drivers/findout.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/clayshoo.c... In file included from src/driver.h:64, from src/vidhrdw/dribling_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pirates_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/dribling.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/pirates.c... In file included from src/driver.h:64, from src/drivers/ace.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fitfight_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/clayshoo_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/fitfight.c... In file included from src/driver.h:64, from src/machine/clayshoo_machine.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/flower_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/clayshoo.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/flower_sndhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/pirates_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/flower.c... In file included from src/driver.h:64, from src/drivers/pirates.c:90: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/diverboy_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/fitfight_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/diverboy.c... In file included from src/driver.h:64, from src/drivers/fitfight.c:86: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/beaminv_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/flower_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/beaminv.c... In file included from src/driver.h:64, from src/sndhrdw/flower_sndhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mcatadv_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/drivers/flower.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/mcatadv.c... In file included from src/driver.h:64, from src/vidhrdw/diverboy_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/4enraya_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/diverboy.c:49: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/4enraya.c... In file included from src/driver.h:64, from src/vidhrdw/beaminv_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/oneshot_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/beaminv.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/oneshot.c... In file included from src/driver.h:64, from src/vidhrdw/mcatadv_vidhrdw.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tugboat.c... src/drivers/pirates.c: In function 'pirates_decrypt_68k': src/drivers/pirates.c:382:11: warning: cast increases required alignment of target type [-Wcast-align] 382 | rom = (UINT16 *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/drivers/mcatadv.c:60: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gotcha_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/4enraya_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/pirates.c: In function 'init_pirates': src/drivers/pirates.c:480:25: warning: cast increases required alignment of target type [-Wcast-align] 480 | data16_t *rom = (data16_t *)memory_region(REGION_CPU1); | ^ Compiling src/drivers/gotcha.c... Compiling src/drivers/coolpool.c... In file included from src/driver.h:64, from src/drivers/4enraya.c:52: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/oneshot_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gumbo_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/oneshot.c:32: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/gumbo.c... In file included from src/driver.h:64, from src/drivers/tugboat.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/statriv2.c... In file included from src/driver.h:64, from src/vidhrdw/gotcha_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tickee_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/gotcha.c:20: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/tickee.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/crgolf_vidhrdw.c... In file included from src/driver.h:64, from src/vidhrdw/gumbo_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/crgolf.c... In file included from src/driver.h:64, from src/drivers/coolpool.c:39: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/gumbo.c:37: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/vidhrdw/truco_vidhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/statriv2.c:44: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/truco.c... In file included from src/driver.h:64, from src/vidhrdw/tickee_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/thedeep_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/tickee.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/thedeep.c... In file included from src/driver.h:64, from src/drivers/mcatadv.c:60: At top level: src/drivers/mcatadv.c:89:25: warning: 'mcat_coin_w' defined but not used [-Wunused-function] 89 | static WRITE16_HANDLER( mcat_coin_w ) | ^~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ In file included from src/driver.h:64, from src/vidhrdw/crgolf_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/fantland_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/crgolf.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/fantland.c... In file included from src/driver.h:64, from src/vidhrdw/truco_vidhrdw.c:9: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/wallc.c... In file included from src/driver.h:64, from src/drivers/truco.c:20: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/skyarmy.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/thedeep_vidhrdw.c:31: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/vidhrdw/lethalj_vidhrdw.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/thedeep.c:27: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/lethalj.c... In file included from src/driver.h:64, from src/vidhrdw/generic.h:1, from src/vidhrdw/fantland_vidhrdw.c:43: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sbugger_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/fantland.c:32: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/sbugger.c... Compiling src/vidhrdw/portrait_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/wallc.c:50: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/portrait.c... In file included from src/driver.h:64, from src/drivers/skyarmy.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/lethalj_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/enigma2.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/lethalj.c:41: src/memory.h: In function 'cpu_readop16': Compiling src/drivers/ltcasino.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/sbugger_vidhrdw.c:3: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/drivers/vamphalf.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/sbugger.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/strvmstr.c... In file included from src/driver.h:64, from src/vidhrdw/portrait_vidhrdw.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/dorachan_vidhrdw.c... Compiling src/drivers/dorachan.c... In file included from src/driver.h:64, from src/drivers/portrait.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/coolpool.c: In function 'decode_9ballsht': src/drivers/coolpool.c:890:15: warning: cast increases required alignment of target type [-Wcast-align] 890 | rom = (data16_t *)memory_region(REGION_USER2); | ^ In file included from src/driver.h:64, from src/drivers/enigma2.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ladyfrog_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/ltcasino.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ladyfrog.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/vamphalf.c:20: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/rabbit.c... In file included from src/driver.h:64, from src/drivers/strvmstr.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/malzak.c... In file included from src/driver.h:64, from src/vidhrdw/dorachan_vidhrdw.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/lethalj_vidhrdw.c: In function 'video_start_lethalj': src/memory.h: In function 'cpu_readop32': src/vidhrdw/lethalj_vidhrdw.c:109:24: warning: cast increases required alignment of target type [-Wcast-align] 109 | blitter_base = (UINT16 *)memory_region(REGION_GFX1); | ^ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/malzak_vidhrdw.c... In file included from src/drivers/wallc.c:52: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/dorachan.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/supertnk.c... In file included from src/driver.h:64, from src/vidhrdw/ladyfrog_vidhrdw.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/crospang.c... In file included from src/driver.h:64, from src/drivers/ladyfrog.c:49: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/funybubl.c... In file included from src/driver.h:64, from src/drivers/rabbit.c:56: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/z80/z80.c... In file included from src/driver.h:64, from src/drivers/malzak.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/cpu/adsp2100/adsp2100.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/vidhrdw/malzak_vidhrdw.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/z180/z180.c... In file included from src/driver.h:64, from src/drivers/supertnk.c:98: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/i8085/i8085.c... In file included from src/driver.h:64, from src/drivers/crospang.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/m6502/m6502.c... In file included from src/driver.h:64, from src/drivers/funybubl.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/h6280/h6280.c... In file included from src/driver.h:64, from src/cpu/z80/z80.c:81: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/i86/i86.c... Compiling src/cpu/nec/nec.c... In file included from src/cpuintrf.h:13, from src/cpu/adsp2100/adsp2100.c:15: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/cpu/z180/z180.c:22: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/v60/v60.c... In file included from src/driver.h:64, from src/cpu/i8085/i8085.c:92: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/v60/v60d.c... In file included from src/driver.h:64, from src/cpu/m6502/m6502.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/i8039/i8039.c... src/cpu/adsp2100/adsp2100.c: In function 'RWORD_PGM': src/cpu/adsp2100/adsp2100.c:217:17: warning: cast increases required alignment of target type [-Wcast-align] 217 | return *(UINT32 *)&OP_ROM[ADSP2100_PGM_OFFSET + addr]; | ^ In file included from src/cpu/adsp2100/adsp2100.c:17: src/cpu/adsp2100/adsp2100.c: In function 'WWORD_PGM': src/cpu/adsp2100/adsp2100.h:114:35: warning: cast increases required alignment of target type [-Wcast-align] 114 | #define ADSP2100_WRPGM(A,V) (*(UINT32 *)(A) = (V) & 0xffffff) | ^ src/cpu/adsp2100/adsp2100.c:223:9: note: in expansion of macro 'ADSP2100_WRPGM' 223 | ADSP2100_WRPGM(&OP_ROM[ADSP2100_PGM_OFFSET + addr], data); | ^~~~~~~~~~~~~~ In file included from src/cpu/h6280/h6280.c:61: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/i8x41/i8x41.c... Compiling src/cpu/m6800/m6800.c... In file included from src/cpuintrf.h:13, from src/cpu/i86/i86.c:10: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/drivers/malzak.c:26: At top level: src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/malzak.c:335:23: warning: 'malzak_interrupt' defined but not used [-Wunused-function] 335 | static INTERRUPT_GEN( malzak_interrupt ) | ^~~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/m6805/m6805.c... In file included from src/cpuintrf.h:13, from src/cpu/nec/nec.c:52: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/v60/v60.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/hd6309/hd6309.c... In file included from src/cpuintrf.h:13, from src/cpu/v60/v60d.c:2: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/m6809/m6809.c... src/drivers/crospang.c: In function 'draw_sprites': src/drivers/crospang.c:298:41: warning: variable 'attr' set but not used [-Wunused-but-set-variable] 298 | int offs,fx,fy,x,y,color,sprite,attr,dy,ay; | ^~~~ Compiling src/cpu/konami/konami.c... In file included from src/cpuintrf.h:13, from src/cpu/i8039/i8039.c:41: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': In file included from src/driver.h:64, from src/drivers/funybubl.c:17: At top level: src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/drivers/funybubl.c:64:23: warning: 'unk_port_r' defined but not used [-Wunused-function] 64 | static READ_HANDLER ( unk_port_r ) | ^~~~~~~~~~ src/memory.h:126:50: note: in definition of macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/i8x41/i8x41.c:61: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/m68000/m68kops.c... In file included from src/cpu/v60/v60.c:17: src/cpu/v60/am1.c: In function 'am1Displacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:186:62: note: in expansion of macro 'OpRead16' 186 | amOut=MemRead8(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:189:63: note: in expansion of macro 'OpRead16' 189 | amOut=MemRead16(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:192:63: note: in expansion of macro 'OpRead16' 192 | amOut=MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1Displacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:201:19: note: in expansion of macro 'OpRead16' 201 | bamOffset=OpRead16(modAdd+1); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1Displacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:212:55: note: in expansion of macro 'OpRead32' 212 | amOut=MemRead8(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:215:56: note: in expansion of macro 'OpRead32' 215 | amOut=MemRead16(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:218:56: note: in expansion of macro 'OpRead32' 218 | amOut=MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1Displacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:227:19: note: in expansion of macro 'OpRead32' 227 | bamOffset=OpRead32(modAdd+1); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:264:63: note: in expansion of macro 'OpRead16' 264 | amOut=MemRead8(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:267:64: note: in expansion of macro 'OpRead16' 267 | amOut=MemRead16(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:270:64: note: in expansion of macro 'OpRead16' 270 | amOut=MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ Compiling src/cpu/m68000/m68kopac.c... src/cpu/v60/am1.c: In function 'bam1DisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:280:56: note: in expansion of macro 'OpRead16' 280 | amOut=MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:290:56: note: in expansion of macro 'OpRead32' 290 | amOut=MemRead8(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:293:57: note: in expansion of macro 'OpRead32' 293 | amOut=MemRead16(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:296:57: note: in expansion of macro 'OpRead32' 296 | amOut=MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:306:49: note: in expansion of macro 'OpRead32' 306 | amOut=MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:343:44: note: in expansion of macro 'OpRead16' 343 | amOut=MemRead8(PC + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:346:45: note: in expansion of macro 'OpRead16' 346 | amOut=MemRead16(PC + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:349:45: note: in expansion of macro 'OpRead16' 349 | amOut=MemRead32(PC + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:358:19: note: in expansion of macro 'OpRead16' 358 | bamOffset=OpRead16(modAdd+1); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:369:37: note: in expansion of macro 'OpRead32' 369 | amOut=MemRead8(PC + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:372:38: note: in expansion of macro 'OpRead32' 372 | amOut=MemRead16(PC + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:375:38: note: in expansion of macro 'OpRead32' 375 | amOut=MemRead32(PC + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:384:19: note: in expansion of macro 'OpRead32' 384 | bamOffset=OpRead32(modAdd+1); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:422:44: note: in expansion of macro 'OpRead16' 422 | amOut=MemRead8(PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:425:45: note: in expansion of macro 'OpRead16' 425 | amOut=MemRead16(PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:428:45: note: in expansion of macro 'OpRead16' 428 | amOut=MemRead32(PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:438:37: note: in expansion of macro 'OpRead16' 438 | amOut=MemRead32(PC + (INT16)OpRead16(modAdd+2)+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:448:37: note: in expansion of macro 'OpRead32' 448 | amOut=MemRead8(PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:451:38: note: in expansion of macro 'OpRead32' 451 | amOut=MemRead16(PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:454:38: note: in expansion of macro 'OpRead32' 454 | amOut=MemRead32(PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/m6800/m6800.c:58: src/memory.h: In function 'cpu_readop16': src/cpu/v60/am1.c: In function 'bam1PCDisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:464:30: note: in expansion of macro 'OpRead32' 464 | amOut=MemRead32(PC + OpRead32(modAdd+2)+bamOffset/8); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/am1.c: In function 'am1DisplacementIndirect16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:499:72: note: in expansion of macro 'OpRead16' 499 | amOut=MemRead8(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:502:73: note: in expansion of macro 'OpRead16' 502 | amOut=MemRead16(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:505:73: note: in expansion of macro 'OpRead16' 505 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:515:65: note: in expansion of macro 'OpRead16' 515 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:524:65: note: in expansion of macro 'OpRead32' 524 | amOut=MemRead8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:527:66: note: in expansion of macro 'OpRead32' 527 | amOut=MemRead16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:530:66: note: in expansion of macro 'OpRead32' 530 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DisplacementIndirect32': Compiling src/cpu/m68000/m68kopdm.c... src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:540:58: note: in expansion of macro 'OpRead32' 540 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DisplacementIndirectIndexed16': In file included from src/driver.h:64, from src/cpu/m6805/m6805.c:36: src/memory.h: In function 'cpu_readop16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:575:73: note: in expansion of macro 'OpRead16' 575 | amOut=MemRead8(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:578:74: note: in expansion of macro 'OpRead16' 578 | amOut=MemRead16(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:581:74: note: in expansion of macro 'OpRead16' 581 | amOut=MemRead32(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DisplacementIndirectIndexed16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:591:66: note: in expansion of macro 'OpRead16' 591 | amOut=MemRead32(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DisplacementIndirectIndexed32': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:601:66: note: in expansion of macro 'OpRead32' 601 | amOut=MemRead8(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:604:67: note: in expansion of macro 'OpRead32' 604 | amOut=MemRead16(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:607:67: note: in expansion of macro 'OpRead32' 607 | amOut=MemRead32(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:617:59: note: in expansion of macro 'OpRead32' 617 | amOut=MemRead32(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:652:54: note: in expansion of macro 'OpRead16' 652 | amOut=MemRead8(MemRead32(PC + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:655:55: note: in expansion of macro 'OpRead16' 655 | amOut=MemRead16(MemRead32(PC + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:658:55: note: in expansion of macro 'OpRead16' 658 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:668:47: note: in expansion of macro 'OpRead16' 668 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:677:47: note: in expansion of macro 'OpRead32' 677 | amOut=MemRead8(MemRead32(PC + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:680:48: note: in expansion of macro 'OpRead32' 680 | amOut=MemRead16(MemRead32(PC + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:683:48: note: in expansion of macro 'OpRead32' 683 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:693:40: note: in expansion of macro 'OpRead32' 693 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacementIndirectIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:728:54: note: in expansion of macro 'OpRead16' 728 | amOut=MemRead8(MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:731:55: note: in expansion of macro 'OpRead16' 731 | amOut=MemRead16(MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:734:55: note: in expansion of macro 'OpRead16' 734 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDisplacementIndirectIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:744:47: note: in expansion of macro 'OpRead16' 744 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+2))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:754:47: note: in expansion of macro 'OpRead32' 754 | amOut=MemRead8(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:757:48: note: in expansion of macro 'OpRead32' 757 | amOut=MemRead16(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:760:48: note: in expansion of macro 'OpRead32' 760 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ Compiling src/cpu/m68000/m68kopnz.c... src/cpu/v60/am1.c: In function 'bam1PCDisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:770:40: note: in expansion of macro 'OpRead32' 770 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+2))+bamOffset/8); | ^~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/hd6309/hd6309.c:88: src/memory.h: In function 'cpu_readop16': src/cpu/v60/am1.c: In function 'am1DoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:808:72: note: in expansion of macro 'OpRead16' 808 | amOut=MemRead8(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:808:101: note: in expansion of macro 'OpRead16' 808 | amOut=MemRead8(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:812:73: note: in expansion of macro 'OpRead16' 812 | amOut=MemRead16(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:812:102: note: in expansion of macro 'OpRead16' 812 | amOut=MemRead16(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:816:73: note: in expansion of macro 'OpRead16' 816 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:816:102: note: in expansion of macro 'OpRead16' 816 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:825:19: note: in expansion of macro 'OpRead16' 825 | bamOffset=OpRead16(modAdd+3); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:826:65: note: in expansion of macro 'OpRead16' 826 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:836:65: note: in expansion of macro 'OpRead32' 836 | amOut=MemRead8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:836:87: note: in expansion of macro 'OpRead32' 836 | amOut=MemRead8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:840:66: note: in expansion of macro 'OpRead32' 840 | amOut=MemRead16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:840:88: note: in expansion of macro 'OpRead32' 840 | amOut=MemRead16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:844:66: note: in expansion of macro 'OpRead32' 844 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:844:88: note: in expansion of macro 'OpRead32' 844 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:853:19: note: in expansion of macro 'OpRead32' 853 | bamOffset=OpRead32(modAdd+5); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:854:58: note: in expansion of macro 'OpRead32' 854 | amOut=MemRead32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:892:54: note: in expansion of macro 'OpRead16' 892 | amOut=MemRead8(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:892:83: note: in expansion of macro 'OpRead16' 892 | amOut=MemRead8(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:896:55: note: in expansion of macro 'OpRead16' 896 | amOut=MemRead16(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:896:84: note: in expansion of macro 'OpRead16' 896 | amOut=MemRead16(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:900:55: note: in expansion of macro 'OpRead16' 900 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ Compiling src/cpu/m68000/m68kcpu.c... src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:900:84: note: in expansion of macro 'OpRead16' 900 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:909:19: note: in expansion of macro 'OpRead16' 909 | bamOffset=OpRead16(modAdd+3); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:910:47: note: in expansion of macro 'OpRead16' 910 | amOut=MemRead32(MemRead32(PC + (INT16)OpRead16(modAdd+1))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1PCDoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:921:47: note: in expansion of macro 'OpRead32' 921 | amOut=MemRead8(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:921:69: note: in expansion of macro 'OpRead32' 921 | amOut=MemRead8(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:925:48: note: in expansion of macro 'OpRead32' 925 | amOut=MemRead16(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:925:70: note: in expansion of macro 'OpRead32' 925 | amOut=MemRead16(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:929:48: note: in expansion of macro 'OpRead32' 929 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/m6809/m6809.c:75: src/memory.h: In function 'cpu_readop16': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:929:70: note: in expansion of macro 'OpRead32' 929 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1PCDoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:938:19: note: in expansion of macro 'OpRead32' 938 | bamOffset=OpRead32(modAdd+5); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:939:40: note: in expansion of macro 'OpRead32' 939 | amOut=MemRead32(MemRead32(PC + OpRead32(modAdd+1))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DirectAddress': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:949:32: note: in expansion of macro 'OpRead32' 949 | amOut=MemRead8(OpRead32(modAdd+1)); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:953:33: note: in expansion of macro 'OpRead32' 953 | amOut=MemRead16(OpRead32(modAdd+1)); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:957:33: note: in expansion of macro 'OpRead32' 957 | amOut=MemRead32(OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DirectAddress': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:967:25: note: in expansion of macro 'OpRead32' 967 | amOut=MemRead32(OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DirectAddressIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:976:32: note: in expansion of macro 'OpRead32' 976 | amOut=MemRead8(OpRead32(modAdd+2) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:980:33: note: in expansion of macro 'OpRead32' 980 | amOut=MemRead16(OpRead32(modAdd+2) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ In file included from src/cpu/h6280/h6280.c:133: src/cpu/h6280/tblh6280.c: In function 'h6280_088': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:984:33: note: in expansion of macro 'OpRead32' 984 | amOut=MemRead32(OpRead32(modAdd+2) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/cpu/h6280/h6280ops.h:587:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] 587 | Y = (UINT8)--Y; \ | ^ src/cpu/h6280/tblh6280.c:171:59: note: in expansion of macro 'DEY' 171 | OP(_088) { h6280_ICount -= 2; DEY; } // 2 DEY | ^~~ src/cpu/v60/am1.c: In function 'bam1DirectAddressIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:994:25: note: in expansion of macro 'OpRead32' 994 | amOut=MemRead32(OpRead32(modAdd+2)+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DirectAddressDeferred': src/cpu/h6280/tblh6280.c: In function 'h6280_0c8': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1004:42: note: in expansion of macro 'OpRead32' 1004 | amOut=MemRead8(MemRead32(OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/h6280/h6280ops.h:629:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] 629 | Y = (UINT8)++Y; \ | ^ src/cpu/h6280/tblh6280.c:173:59: note: in expansion of macro 'INY' 173 | OP(_0c8) { h6280_ICount -= 2; INY; } // 2 INY | ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0e8': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1008:43: note: in expansion of macro 'OpRead32' 1008 | amOut=MemRead16(MemRead32(OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/h6280/h6280ops.h:622:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] 622 | X = (UINT8)++X; \ | ^ src/cpu/h6280/tblh6280.c:174:59: note: in expansion of macro 'INX' 174 | OP(_0e8) { h6280_ICount -= 2; INX; } // 2 INX | ^~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1012:43: note: in expansion of macro 'OpRead32' 1012 | amOut=MemRead32(MemRead32(OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DirectAddressDeferred': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1022:35: note: in expansion of macro 'OpRead32' 1022 | amOut=MemRead32(MemRead32(OpRead32(modAdd+1))); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1DirectAddressDeferredIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1031:42: note: in expansion of macro 'OpRead32' 1031 | amOut=MemRead8(MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1035:43: note: in expansion of macro 'OpRead32' 1035 | amOut=MemRead16(MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]*2); | ^~~~~~~~ Compiling src/cpu/m68000/m68kmame.c... src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1039:43: note: in expansion of macro 'OpRead32' 1039 | amOut=MemRead32(MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]*4); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'bam1DirectAddressDeferredIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1049:35: note: in expansion of macro 'OpRead32' 1049 | amOut=MemRead32(MemRead32(OpRead32(modAdd+2))+bamOffset/8); | ^~~~~~~~ src/cpu/v60/am1.c: In function 'am1Immediate': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1064:23: note: in expansion of macro 'OpRead16' 1064 | amOut=OpRead16(modAdd+1); | ^~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/konami/konami.c:39: src/memory.h: In function 'cpu_readop16': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am1.c:1069:23: note: in expansion of macro 'OpRead32' 1069 | amOut=OpRead32(modAdd+1); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/am2.c: In function 'am2Displacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:171:47: note: in expansion of macro 'OpRead16' 171 | amOut = v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2Displacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:180:28: note: in expansion of macro 'OpRead16' 180 | bamOffset = (INT16)OpRead16(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2Displacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:188:40: note: in expansion of macro 'OpRead32' 188 | amOut = v60.reg[modVal&0x1F] + OpRead32(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2Displacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:197:21: note: in expansion of macro 'OpRead32' 197 | bamOffset = OpRead32(modAdd+1); | ^~~~~~~~ In file included from src/cpu/i86/i86.c:98: src/cpu/i86/instr86.c: In function 'i86_aas': src/cpu/v60/am2.c: In function 'am2DisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:241:56: note: in expansion of macro 'OpRead16' 241 | amOut = v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/i86/instr86.c:1162:15: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable] 1162 | UINT8 ALcarry=1; | ^~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:244:56: note: in expansion of macro 'OpRead16' 244 | amOut = v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:247:56: note: in expansion of macro 'OpRead16' 247 | amOut = v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:250:56: note: in expansion of macro 'OpRead16' 250 | amOut = v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:260:48: note: in expansion of macro 'OpRead16' 260 | amOut = v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:273:49: note: in expansion of macro 'OpRead32' 273 | amOut = v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:276:49: note: in expansion of macro 'OpRead32' 276 | amOut = v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:279:49: note: in expansion of macro 'OpRead32' 279 | amOut = v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:282:49: note: in expansion of macro 'OpRead32' 282 | amOut = v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:292:41: note: in expansion of macro 'OpRead32' 292 | amOut = v60.reg[modVal2&0x1F] + OpRead32(modAdd+2); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:318:29: note: in expansion of macro 'OpRead16' 318 | amOut = PC + (INT16)OpRead16(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:327:28: note: in expansion of macro 'OpRead16' 327 | bamOffset = (INT16)OpRead16(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:335:22: note: in expansion of macro 'OpRead32' 335 | amOut = PC + OpRead32(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:344:21: note: in expansion of macro 'OpRead32' 344 | bamOffset = OpRead32(modAdd+1); | ^~~~~~~~ Compiling src/cpu/t11/t11.c... src/cpu/v60/am2.c: In function 'am2PCDisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:389:37: note: in expansion of macro 'OpRead16' 389 | amOut = PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:392:37: note: in expansion of macro 'OpRead16' 392 | amOut = PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:395:37: note: in expansion of macro 'OpRead16' 395 | amOut = PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:398:37: note: in expansion of macro 'OpRead16' 398 | amOut = PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:408:29: note: in expansion of macro 'OpRead16' 408 | amOut = PC + (INT16)OpRead16(modAdd+2); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:421:30: note: in expansion of macro 'OpRead32' 421 | amOut = PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:424:30: note: in expansion of macro 'OpRead32' 424 | amOut = PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:427:30: note: in expansion of macro 'OpRead32' 427 | amOut = PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:430:30: note: in expansion of macro 'OpRead32' 430 | amOut = PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacementIndexed32': src/cpu/h6280/tblh6280.c: In function 'h6280_0ca': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:440:22: note: in expansion of macro 'OpRead32' 440 | amOut = PC + OpRead32(modAdd+2); | ^~~~~~~~ src/cpu/h6280/h6280ops.h:580:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] 580 | X = (UINT8)--X; \ | ^ src/cpu/h6280/tblh6280.c:209:59: note: in expansion of macro 'DEX' 209 | OP(_0ca) { h6280_ICount -= 2; DEX; } // 2 DEX | ^~~ src/cpu/v60/am2.c: In function 'am2DisplacementIndirect16': src/cpu/h6280/tblh6280.c: In function 'h6280_01a': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:465:57: note: in expansion of macro 'OpRead16' 465 | amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/h6280/h6280ops.h:608:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] 608 | A = (UINT8)++A; \ | ^ src/cpu/h6280/tblh6280.c:212:59: note: in expansion of macro 'INA' 212 | OP(_01a) { h6280_ICount -= 2; INA; } // 2 INC A | ^~~ src/cpu/v60/am2.c: In function 'bam2DisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:473:57: note: in expansion of macro 'OpRead16' 473 | amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/h6280/tblh6280.c: In function 'h6280_03a': src/cpu/v60/am2.c: In function 'am2DisplacementIndirect32': src/cpu/h6280/h6280ops.h:566:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] 566 | A = (UINT8)--A; \ | ^ src/cpu/h6280/tblh6280.c:213:59: note: in expansion of macro 'DEA' 213 | OP(_03a) { h6280_ICount -= 2; DEA; } // 2 DEC A | ^~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:481:50: note: in expansion of macro 'OpRead32' 481 | amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:489:50: note: in expansion of macro 'OpRead32' 489 | amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DisplacementIndirectIndexed16': In file included from src/cpuintrf.h:13, from src/cpu/m68000/m68kmame.h:8, from src/cpu/m68000/m68k.h:350, from src/cpu/m68000/m68kcpu.h:36, from src/cpu/m68000/m68kopac.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:534:66: note: in expansion of macro 'OpRead16' 534 | amOut = MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:537:66: note: in expansion of macro 'OpRead16' 537 | amOut = MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:540:66: note: in expansion of macro 'OpRead16' 540 | amOut = MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:543:66: note: in expansion of macro 'OpRead16' 543 | amOut = MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/cpu/v60/am2.c: In function 'bam2DisplacementIndirectIndexed16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:553:58: note: in expansion of macro 'OpRead16' 553 | amOut = MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/am2.c: In function 'am2DisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:566:59: note: in expansion of macro 'OpRead32' 566 | amOut = MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:569:59: note: in expansion of macro 'OpRead32' 569 | amOut = MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:572:59: note: in expansion of macro 'OpRead32' 572 | amOut = MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:575:59: note: in expansion of macro 'OpRead32' 575 | amOut = MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ In file included from src/cpu/m6800/m6800.c:548: src/cpu/m6800/6800ops.c: In function 'brn': src/cpu/m6800/6800ops.c:251:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 251 | UINT8 t; | ^ src/cpu/v60/am2.c: In function 'bam2DisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:585:51: note: in expansion of macro 'OpRead32' 585 | amOut = MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:611:39: note: in expansion of macro 'OpRead16' 611 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:619:39: note: in expansion of macro 'OpRead16' 619 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:628:32: note: in expansion of macro 'OpRead32' 628 | amOut = MemRead32(PC + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:636:32: note: in expansion of macro 'OpRead32' 636 | amOut = MemRead32(PC + OpRead32(modAdd+1)); | ^~~~~~~~ Compiling src/cpu/s2650/s2650.c... src/cpu/v60/am2.c: In function 'am2PCDisplacementIndirectIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:681:47: note: in expansion of macro 'OpRead16' 681 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:684:47: note: in expansion of macro 'OpRead16' 684 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:687:47: note: in expansion of macro 'OpRead16' 687 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:690:47: note: in expansion of macro 'OpRead16' 690 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacementIndirectIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:701:39: note: in expansion of macro 'OpRead16' 701 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+2)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:715:40: note: in expansion of macro 'OpRead32' 715 | amOut = MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:718:40: note: in expansion of macro 'OpRead32' 718 | amOut = MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:721:40: note: in expansion of macro 'OpRead32' 721 | amOut = MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:724:40: note: in expansion of macro 'OpRead32' 724 | amOut = MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:734:32: note: in expansion of macro 'OpRead32' 734 | amOut = MemRead32(PC + OpRead32(modAdd+2)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:760:57: note: in expansion of macro 'OpRead16' 760 | amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:760:86: note: in expansion of macro 'OpRead16' 760 | amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DoubleDisplacement16': In file included from src/cpuintrf.h:13, from src/cpu/m68000/m68kmame.h:8, from src/cpu/m68000/m68k.h:350, from src/cpu/m68000/m68kcpu.h:36, from src/cpu/m68000/m68kopdm.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:768:57: note: in expansion of macro 'OpRead16' 768 | amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:777:50: note: in expansion of macro 'OpRead32' 777 | amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:777:72: note: in expansion of macro 'OpRead32' 777 | amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DoubleDisplacement32': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:785:50: note: in expansion of macro 'OpRead32' 785 | amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:786:21: note: in expansion of macro 'OpRead32' 786 | bamOffset = OpRead32(modAdd+5); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:812:39: note: in expansion of macro 'OpRead16' 812 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:812:68: note: in expansion of macro 'OpRead16' 812 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:820:39: note: in expansion of macro 'OpRead16' 820 | amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2PCDoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:829:32: note: in expansion of macro 'OpRead32' 829 | amOut = MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:829:54: note: in expansion of macro 'OpRead32' 829 | amOut = MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2PCDoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:837:32: note: in expansion of macro 'OpRead32' 837 | amOut = MemRead32(PC + OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:838:21: note: in expansion of macro 'OpRead32' 838 | bamOffset = OpRead32(modAdd+5); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DirectAddress': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:846:17: note: in expansion of macro 'OpRead32' 846 | amOut = OpRead32(modAdd+1); | ^~~~~~~~ Compiling src/cpu/tms34010/tms34010.c... src/cpu/v60/am2.c: In function 'bam2DirectAddress': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:854:17: note: in expansion of macro 'OpRead32' 854 | amOut = OpRead32(modAdd+1); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DirectAddressIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:867:25: note: in expansion of macro 'OpRead32' 867 | amOut = OpRead32(modAdd+2) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:870:25: note: in expansion of macro 'OpRead32' 870 | amOut = OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:873:25: note: in expansion of macro 'OpRead32' 873 | amOut = OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:876:25: note: in expansion of macro 'OpRead32' 876 | amOut = OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DirectAddressIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:886:17: note: in expansion of macro 'OpRead32' 886 | amOut = OpRead32(modAdd+2); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DirectAddressDeferred': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:895:27: note: in expansion of macro 'OpRead32' 895 | amOut = MemRead32(OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DirectAddressDeferred': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:903:27: note: in expansion of macro 'OpRead32' 903 | amOut = MemRead32(OpRead32(modAdd+1)); | ^~~~~~~~ src/cpu/v60/am2.c: In function 'am2DirectAddressDeferredIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:916:35: note: in expansion of macro 'OpRead32' 916 | amOut = MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F]; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:919:35: note: in expansion of macro 'OpRead32' 919 | amOut = MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 2; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:922:35: note: in expansion of macro 'OpRead32' 922 | amOut = MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 4; | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:925:35: note: in expansion of macro 'OpRead32' 925 | amOut = MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 8; | ^~~~~~~~ src/cpu/v60/am2.c: In function 'bam2DirectAddressDeferredIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am2.c:935:27: note: in expansion of macro 'OpRead32' 935 | amOut = MemRead32(OpRead32(modAdd+2)); | ^~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/m68000/m68kmame.h:8, from src/cpu/m68000/m68k.h:350, from src/cpu/m68000/m68kcpu.h:36, from src/cpu/m68000/m68kopnz.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/am3.c: In function 'am3Displacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:124:57: note: in expansion of macro 'OpRead16' 124 | MemWrite8(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:127:58: note: in expansion of macro 'OpRead16' 127 | MemWrite16(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:130:58: note: in expansion of macro 'OpRead16' 130 | MemWrite32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3Displacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:142:50: note: in expansion of macro 'OpRead32' 142 | MemWrite8(v60.reg[modVal&0x1F] + OpRead32(modAdd+1), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:145:51: note: in expansion of macro 'OpRead32' 145 | MemWrite16(v60.reg[modVal&0x1F] + OpRead32(modAdd+1), modWriteValH); | ^~~~~~~~ Compiling src/cpu/tms34010/34010fld.c... src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:148:51: note: in expansion of macro 'OpRead32' 148 | MemWrite32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:179:58: note: in expansion of macro 'OpRead16' 179 | MemWrite8(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:182:59: note: in expansion of macro 'OpRead16' 182 | MemWrite16(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:185:59: note: in expansion of macro 'OpRead16' 185 | MemWrite32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:197:51: note: in expansion of macro 'OpRead32' 197 | MemWrite8(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:200:52: note: in expansion of macro 'OpRead32' 200 | MemWrite16(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:203:52: note: in expansion of macro 'OpRead32' 203 | MemWrite32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:234:39: note: in expansion of macro 'OpRead16' 234 | MemWrite8(PC + (INT16)OpRead16(modAdd+1), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:237:40: note: in expansion of macro 'OpRead16' 237 | MemWrite16(PC + (INT16)OpRead16(modAdd+1), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:240:40: note: in expansion of macro 'OpRead16' 240 | MemWrite32(PC + (INT16)OpRead16(modAdd+1), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:252:32: note: in expansion of macro 'OpRead32' 252 | MemWrite8(PC + OpRead32(modAdd+1), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:255:33: note: in expansion of macro 'OpRead32' 255 | MemWrite16(PC + OpRead32(modAdd+1), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:258:33: note: in expansion of macro 'OpRead32' 258 | MemWrite32(PC + OpRead32(modAdd+1), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacementIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:288:39: note: in expansion of macro 'OpRead16' 288 | MemWrite8(PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:291:40: note: in expansion of macro 'OpRead16' 291 | MemWrite16(PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:294:40: note: in expansion of macro 'OpRead16' 294 | MemWrite32(PC + (INT16)OpRead16(modAdd+2) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacementIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:306:32: note: in expansion of macro 'OpRead32' 306 | MemWrite8(PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:309:33: note: in expansion of macro 'OpRead32' 309 | MemWrite16(PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:312:33: note: in expansion of macro 'OpRead32' 312 | MemWrite32(PC + OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:342:67: note: in expansion of macro 'OpRead16' 342 | MemWrite8(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:345:68: note: in expansion of macro 'OpRead16' 345 | MemWrite16(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:348:68: note: in expansion of macro 'OpRead16' 348 | MemWrite32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:360:60: note: in expansion of macro 'OpRead32' 360 | MemWrite8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:363:61: note: in expansion of macro 'OpRead32' 363 | MemWrite16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:366:61: note: in expansion of macro 'OpRead32' 366 | MemWrite32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DisplacementIndirectIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:397:68: note: in expansion of macro 'OpRead16' 397 | MemWrite8(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:400:69: note: in expansion of macro 'OpRead16' 400 | MemWrite16(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:403:69: note: in expansion of macro 'OpRead16' 403 | MemWrite32(MemRead32(v60.reg[modVal2&0x1F] + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:415:61: note: in expansion of macro 'OpRead32' 415 | MemWrite8(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:418:62: note: in expansion of macro 'OpRead32' 418 | MemWrite16(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:421:62: note: in expansion of macro 'OpRead32' 421 | MemWrite32(MemRead32(v60.reg[modVal2&0x1F] + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacementIndirect16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:451:49: note: in expansion of macro 'OpRead16' 451 | MemWrite8(MemRead32(PC + (INT16)OpRead16(modAdd+1)), modWriteValB); | ^~~~~~~~ Compiling src/cpu/tms9900/tms9980a.c... src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:454:50: note: in expansion of macro 'OpRead16' 454 | MemWrite16(MemRead32(PC + (INT16)OpRead16(modAdd+1)), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:457:50: note: in expansion of macro 'OpRead16' 457 | MemWrite32(MemRead32(PC + (INT16)OpRead16(modAdd+1)), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacementIndirect32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:469:42: note: in expansion of macro 'OpRead32' 469 | MemWrite8(MemRead32(PC + OpRead32(modAdd+1)), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:472:43: note: in expansion of macro 'OpRead32' 472 | MemWrite16(MemRead32(PC + OpRead32(modAdd+1)), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:475:43: note: in expansion of macro 'OpRead32' 475 | MemWrite32(MemRead32(PC + OpRead32(modAdd+1)), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacementIndirectIndexed16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:506:49: note: in expansion of macro 'OpRead16' 506 | MemWrite8(MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:509:50: note: in expansion of macro 'OpRead16' 509 | MemWrite16(MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:512:50: note: in expansion of macro 'OpRead16' 512 | MemWrite32(MemRead32(PC + (INT16)OpRead16(modAdd+2)) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDisplacementIndirectIndexed32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:524:42: note: in expansion of macro 'OpRead32' 524 | MemWrite8(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:527:43: note: in expansion of macro 'OpRead32' 527 | MemWrite16(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:530:43: note: in expansion of macro 'OpRead32' 530 | MemWrite32(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:561:67: note: in expansion of macro 'OpRead16' 561 | MemWrite8(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:561:96: note: in expansion of macro 'OpRead16' 561 | MemWrite8(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:564:68: note: in expansion of macro 'OpRead16' 564 | MemWrite16(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:564:97: note: in expansion of macro 'OpRead16' 564 | MemWrite16(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:567:68: note: in expansion of macro 'OpRead16' 567 | MemWrite32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValW); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:567:97: note: in expansion of macro 'OpRead16' 567 | MemWrite32(MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DoubleDisplacement32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:579:60: note: in expansion of macro 'OpRead32' 579 | MemWrite8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:579:82: note: in expansion of macro 'OpRead32' 579 | MemWrite8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:582:61: note: in expansion of macro 'OpRead32' 582 | MemWrite16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:582:83: note: in expansion of macro 'OpRead32' 582 | MemWrite16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:585:61: note: in expansion of macro 'OpRead32' 585 | MemWrite32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValW); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:585:83: note: in expansion of macro 'OpRead32' 585 | MemWrite32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDoubleDisplacement16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:616:49: note: in expansion of macro 'OpRead16' 616 | MemWrite8(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:616:78: note: in expansion of macro 'OpRead16' 616 | MemWrite8(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:619:50: note: in expansion of macro 'OpRead16' 619 | MemWrite16(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValH); | ^~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/m68000/m68kmame.h:8, from src/cpu/m68000/m68k.h:350, from src/cpu/m68000/m68kmame.c:3: src/memory.h: In function 'cpu_readop16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:619:79: note: in expansion of macro 'OpRead16' 619 | MemWrite16(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:622:50: note: in expansion of macro 'OpRead16' 622 | MemWrite32(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValW); | ^~~~~~~~ src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:622:79: note: in expansion of macro 'OpRead16' 622 | MemWrite32(MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3PCDoubleDisplacement32': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/m68000/m68kmame.h:8, from src/cpu/m68000/m68k.h:350, from src/cpu/m68000/m68kcpu.h:36, from src/cpu/m68000/m68kcpu.c:42: src/memory.h: In function 'cpu_readop16': Compiling src/cpu/tms9900/tms9995.c... src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:634:42: note: in expansion of macro 'OpRead32' 634 | MemWrite8(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValB); | ^~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:634:64: note: in expansion of macro 'OpRead32' 634 | MemWrite8(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValB); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:637:43: note: in expansion of macro 'OpRead32' 637 | MemWrite16(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValH); | ^~~~~~~~ src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:637:65: note: in expansion of macro 'OpRead32' 637 | MemWrite16(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValH); | ^~~~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:640:43: note: in expansion of macro 'OpRead32' 640 | MemWrite32(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValW); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:640:65: note: in expansion of macro 'OpRead32' 640 | MemWrite32(MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5), modWriteValW); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/cpu/v60/am3.c: In function 'am3DirectAddress': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:652:27: note: in expansion of macro 'OpRead32' 652 | MemWrite8(OpRead32(modAdd+1), modWriteValB); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:655:28: note: in expansion of macro 'OpRead32' 655 | MemWrite16(OpRead32(modAdd+1), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:658:28: note: in expansion of macro 'OpRead32' 658 | MemWrite32(OpRead32(modAdd+1), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DirectAddressIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:670:27: note: in expansion of macro 'OpRead32' 670 | MemWrite8(OpRead32(modAdd+2) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:673:28: note: in expansion of macro 'OpRead32' 673 | MemWrite16(OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 2, modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:676:28: note: in expansion of macro 'OpRead32' 676 | MemWrite32(OpRead32(modAdd+2) + v60.reg[modVal&0x1F] * 4, modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DirectAddressDeferred': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:688:37: note: in expansion of macro 'OpRead32' 688 | MemWrite8(MemRead32(OpRead32(modAdd+1)), modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:691:38: note: in expansion of macro 'OpRead32' 691 | MemWrite16(MemRead32(OpRead32(modAdd+1)), modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:694:38: note: in expansion of macro 'OpRead32' 694 | MemWrite32(MemRead32(OpRead32(modAdd+1)), modWriteValW); | ^~~~~~~~ src/cpu/v60/am3.c: In function 'am3DirectAddressDeferredIndexed': src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:706:37: note: in expansion of macro 'OpRead32' 706 | MemWrite8(MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValB); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:709:38: note: in expansion of macro 'OpRead32' 709 | MemWrite16(MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValH); | ^~~~~~~~ src/cpu/v60/v60mem.c:381:27: warning: cast increases required alignment of target type [-Wcast-align] 381 | #define OpRead32(a) (*(UINT32 *)&OP_ROM[a]) | ^ src/cpu/v60/am3.c:712:38: note: in expansion of macro 'OpRead32' 712 | MemWrite32(MemRead32(OpRead32(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValW); | ^~~~~~~~ Compiling src/cpu/tms9900/tms9900.c... In file included from src/cpu/hd6309/hd6309.c:776: src/cpu/hd6309/6309ops.c: In function 'brn': src/cpu/hd6309/6309ops.c:503:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 503 | UINT8 t; | ^ In file included from src/cpu/m6809/m6809.c:674: src/cpu/m6809/6809ops.c: In function 'brn': src/cpu/m6809/6809ops.c:413:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 413 | UINT8 t; | ^ In file included from src/cpu/i86/i86.c:16: src/cpu/i86/i86.c: In function 'i86_get_reg': src/cpu/i86/i86.h:102:25: warning: statement with no effect [-Wunused-value] 102 | #define CompressFlags() (WORD)(CF | (PF << 2) | (AF << 4) | (ZF << 6) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | | (SF << 7) | (I.TF << 8) | (I.IF << 9) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | | (DF << 10) | (OF << 11)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/i86/i86.c:203:41: note: in expansion of macro 'CompressFlags' 203 | case I86_FLAGS: CompressFlags(); return I.flags; | ^~~~~~~~~~~~~ At top level: src/cpu/i8085/i8085.c:180:14: warning: 'illegal' defined but not used [-Wunused-function] 180 | static void illegal(void) | ^~~~~~~ In file included from src/cpu/m6805/m6805.c:531: src/cpu/m6805/6805ops.c: In function 'brn': src/cpu/m6805/6805ops.c:111:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 111 | UINT8 t; | ^ Compiling src/cpu/z8000/z8000.c... src/cpu/nec/nec.c: In function 'i_popa': src/cpu/nec/nec.c:374:14: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 374 | unsigned tmp; | ^~~ In file included from src/cpu/konami/konami.c:669: src/cpu/konami/konamops.c: In function 'brn': src/cpu/konami/konamops.c:328:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 328 | UINT8 t; | ^ In file included from src/driver.h:64, from src/cpu/s2650/s2650.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/tms32010/tms32010.c... In file included from src/driver.h:64, from src/cpu/tms34010/tms34010.c:12: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/t11/t11.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': Compiling src/cpu/tms32025/tms32025.c... src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/tms34010/34010fld.c:11: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/tms9900/tms9900.h:11, from src/cpu/tms9900/tms9980a.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/tms32031/tms32031.c... In file included from src/driver.h:64, from src/cpu/tms9900/tms9900.h:11, from src/cpu/tms9900/tms9995.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/cpu/i86/i86.c:452: src/cpu/i86/instr186.c: In function 'i186_popa': src/memory.h: In function 'cpu_readop32': src/cpu/i86/instr186.c:36:19: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 36 | unsigned tmp; | ^~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/ccpu/ccpu.c... In file included from src/driver.h:64, from src/cpu/tms9900/tms9900.h:11, from src/cpu/tms9900/tms9900.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c: At top level: src/cpu/m68000/m68kcpu.c:56:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:57:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | "M68000", | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:58:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | "M68010", | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:59:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:60:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | "M68EC020" | ^~~~~~~~~~ src/cpu/m68000/m68kcpu.c:62:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:63:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:64:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | "M68020" | ^~~~~~~~ Compiling src/vidhrdw/cinemat_vidhrdw.c... src/cpu/t11/t11.c: In function 'ROPCODE': src/cpu/t11/t11.c:111:17: warning: cast increases required alignment of target type [-Wcast-align] 111 | return *(UINT16 *)(&t11.bank[pc >> 13][pc & 0x1fff]); | ^ src/cpu/v60/op4.c: In function 'opBGT16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:25:30: note: in expansion of macro 'OpRead16' 25 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBGE16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:52:30: note: in expansion of macro 'OpRead16' 52 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBLT16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:78:30: note: in expansion of macro 'OpRead16' 78 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBLE16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:105:30: note: in expansion of macro 'OpRead16' 105 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBH16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:127:30: note: in expansion of macro 'OpRead16' 127 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBNH16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:149:30: note: in expansion of macro 'OpRead16' 149 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBNL16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:171:30: note: in expansion of macro 'OpRead16' 171 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBL16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:193:30: note: in expansion of macro 'OpRead16' 193 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBNE16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:215:30: note: in expansion of macro 'OpRead16' 215 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBE16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:237:30: note: in expansion of macro 'OpRead16' 237 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBNV16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:259:30: note: in expansion of macro 'OpRead16' 259 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ Compiling src/cpu/mips/psx_cpu.c... src/cpu/v60/op4.c: In function 'opBV16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:281:30: note: in expansion of macro 'OpRead16' 281 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBP16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:303:30: note: in expansion of macro 'OpRead16' 303 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBN16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:325:30: note: in expansion of macro 'OpRead16' 325 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ In file included from src/driver.h:64, from src/cpu/z8000/z8000.c:24: src/memory.h: In function 'cpu_readop16': src/cpu/v60/op4.c: In function 'opBR16': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:340:22: note: in expansion of macro 'OpRead16' 340 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/cpu/v60/op4.c: In function 'opBSR': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op4.c:351:22: note: in expansion of macro 'OpRead16' 351 | PC += (INT16)OpRead16(PC + 1); | ^~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/op6.c: In function 'opTB': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:10:30: note: in expansion of macro 'OpRead16' 10 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/op6.c: In function 'opDBGT': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:24:30: note: in expansion of macro 'OpRead16' 24 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBLE': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:38:30: note: in expansion of macro 'OpRead16' 38 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/m6800/m6800.c: In function 'm6800_set_irq_line': src/cpu/m6800/m6800.c:705:21: warning: variable 'eddge' set but not used [-Wunused-but-set-variable] 705 | int eddge; | ^~~~~ src/cpu/v60/op6.c: In function 'opDBGE': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:53:30: note: in expansion of macro 'OpRead16' 53 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBLT': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:67:30: note: in expansion of macro 'OpRead16' 67 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBH': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:80:30: note: in expansion of macro 'OpRead16' 80 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBNH': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:93:30: note: in expansion of macro 'OpRead16' 93 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBL': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:107:30: note: in expansion of macro 'OpRead16' 107 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBNL': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:120:30: note: in expansion of macro 'OpRead16' 120 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBE': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:133:30: note: in expansion of macro 'OpRead16' 133 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBNE': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:146:30: note: in expansion of macro 'OpRead16' 146 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBV': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:159:30: note: in expansion of macro 'OpRead16' 159 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBNV': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:172:30: note: in expansion of macro 'OpRead16' 172 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBN': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:185:30: note: in expansion of macro 'OpRead16' 185 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBP': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:198:30: note: in expansion of macro 'OpRead16' 198 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ src/cpu/v60/op6.c: In function 'opDBR': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/op6.c:211:30: note: in expansion of macro 'OpRead16' 211 | PC += (INT16)OpRead16(PC + 2); | ^~~~~~~~ Compiling src/cpu/asap/asap.c... Compiling src/cpu/upd7810/upd7810.c... In file included from src/driver.h:64, from src/cpu/tms32010/tms32010.c:56: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/v60/v60.c: In function 'opUNHANDLED': src/cpu/v60/v60mem.c:380:27: warning: cast increases required alignment of target type [-Wcast-align] 380 | #define OpRead16(a) (*(UINT16 *)&OP_ROM[a]) | ^ src/cpu/v60/v60.c:337:83: note: in expansion of macro 'OpRead16' 337 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Unhandled OpCode found : %02x at %08x\n", OpRead16(PC), PC); | ^~~~~~~~ src/cpu/nec/nec.c: In function 'i_aam': src/cpu/nec/nec.c:746:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] 746 | OP( 0xd4, i_aam ) { UINT32 mult=FETCH; mult=0; I.regs.b[AH] = I.regs.b[AL] / 10; I.regs.b[AL] %= 10; SetSZPF_Word(I.regs.w[AW]); CLKS(15,15,12); } | ^~~~ src/cpu/nec/nec.c: In function 'i_aad': src/cpu/nec/nec.c:747:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] 747 | OP( 0xd5, i_aad ) { UINT32 mult=FETCH; mult=0; I.regs.b[AL] = I.regs.b[AH] * 10 + I.regs.b[AL]; I.regs.b[AH] = 0; SetSZPF_Byte(I.regs.b[AL]); CLKS(7,7,8); } | ^~~~ Compiling src/cpu/arm/arm.c... In file included from src/driver.h:64, from src/cpu/tms32025/tms32025.c:127: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpu/m6502/m6502.c:151: src/cpu/m6502/t65c02.c: In function 'm65c02_1a': src/cpu/m6502/opsc02.h:187:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] 187 | A = (UINT8)++A; \ src/cpu/m6502/t65c02.c:223:58: note: in expansion of macro 'INA' 223 | OP(1a) { m6502_ICount -= 2; INA; } /* 2 INA */ | ^~~ src/cpu/m6502/t65c02.c: In function 'm65c02_3a': src/cpu/m6502/opsc02.h:180:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] 180 | A = (UINT8)--A; \ src/cpu/m6502/t65c02.c:224:58: note: in expansion of macro 'DEA' 224 | OP(3a) { m6502_ICount -= 2; DEA; } /* 2 DEA */ | ^~~ Compiling src/cpu/jaguar/jaguar.c... In file included from src/driver.h:64, from src/cpu/ccpu/ccpu.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/mips/r3000.c... In file included from src/driver.h:64, from src/vidhrdw/cinemat_vidhrdw.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/nec/nec.c: In function 'v30_info': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/nec/nec.c:1204:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] 1204 | nec_Regs *r = context; | ^ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/nec/nec.c:1202:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] 1202 | static char buffer[32][63+1]; | ^~~~~~ src/cpu/nec/nec.c: In function 'v33_info': src/cpu/nec/nec.c:1256:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] 1256 | nec_Regs *r = context; | ^ In file included from src/cpuintrf.h:13, from src/cpu/tms32031/tms32031.c:17: src/memory.h: In function 'cpu_readop16': src/cpu/nec/nec.c:1254:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] 1254 | static char buffer[32][63+1]; | ^~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/mips/mips3.c... In file included from src/cpuintrf.h:13, from src/cpu/mips/psx_cpu.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/sh2/sh2.c... In file included from src/cpu/m6502/m6502.c:162: src/cpu/m6502/tdeco16.c: In function 'deco16_67': src/cpu/m6502/tdeco16.c:191:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 191 | int tmp; m6502_ICount -= 2; RD_IMM; | ^~~ In file included from src/cpuintrf.h:13, from src/cpu/asap/asap.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/cpu/dsp32/dsp32.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/upd7810/upd7810.c:370: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/arm/arm.h:4, from src/cpu/arm/arm.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/pic16c5x/pic16c5x.c... In file included from src/cpu/tms9900/tms9995.c:9: src/cpu/tms9900/99xxcore.h: In function 'readword': src/cpu/tms9900/99xxcore.h:503:33: warning: cast increases required alignment of target type [-Wcast-align] 503 | return *(UINT16 *)(& I.RAM[addr - 0xf000]); | ^ src/cpu/tms9900/99xxcore.h:525:33: warning: cast increases required alignment of target type [-Wcast-align] 525 | return *(UINT16 *)(& I.RAM[addr - 0xff00]); | ^ src/cpu/tms9900/99xxcore.h: In function 'writeword': src/cpu/tms9900/99xxcore.h:539:26: warning: cast increases required alignment of target type [-Wcast-align] 539 | *(UINT16 *)(& I.RAM[addr - 0xf000]) = data; | ^ src/cpu/tms9900/99xxcore.h:555:26: warning: cast increases required alignment of target type [-Wcast-align] 555 | *(UINT16 *)(& I.RAM[addr - 0xff00]) = data; | ^ Compiling src/cpu/g65816/g65816.c... In file included from src/driver.h:64, from src/cpu/jaguar/jaguar.c:15: src/memory.h: In function 'cpu_readop16': Compiling src/cpu/g65816/g65816o0.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/mips/r3000.c:15: src/memory.h: In function 'cpu_readop16': Compiling src/cpu/g65816/g65816o1.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/sh2/sh2.c:98: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/cpu/g65816/g65816o2.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/g65816/g65816o3.c... In file included from src/driver.h:64, from src/cpu/mips/mips3.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/g65816/g65816o4.c... In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816.h:164, from src/cpu/g65816/g65816cm.h:16, from src/cpu/g65816/g65816.c:83: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/cpu/pic16c5x/pic16c5x.c:62: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/g65816/g65816ds.c... In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816.h:164, from src/cpu/g65816/g65816cm.h:16, from src/cpu/g65816/g65816o0.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/dsp32/dsp32.c:39: src/memory.h: In function 'cpu_readop16': src/cpu/tms32025/tms32025.c: In function 'tms32025_reset': src/cpu/tms32025/tms32025.c:1657:20: warning: cast increases required alignment of target type [-Wcast-align] 1657 | R.intRAM = (UINT16 *)memory_region(REGION_CPU1 + cpu_getactivecpu()); | ^ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cinemat_vidhrdw.c: In function 'CinemaVectorData': src/vidhrdw/cinemat_vidhrdw.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 32 | else | ^~~~ src/vidhrdw/cinemat_vidhrdw.c:35:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 35 | lastx = tox; | ^~~~~ Compiling src/cpu/spc700/spc700.c... In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816.h:164, from src/cpu/g65816/g65816cm.h:16, from src/cpu/g65816/g65816o1.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/cpu/spc700/spc700ds.c... src/cpu/ccpu/ccpu.c: In function 'opJEI_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1664:25: note: in expansion of macro 'JMP' 1664 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1663:17: note: some parts of macro expansion are not guarded by this 'if' clause 1663 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) | ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1669:25: note: in expansion of macro 'JMP' 1669 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1668:17: note: some parts of macro expansion are not guarded by this 'if' clause 1668 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJEI_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1682:25: note: in expansion of macro 'JMP' 1682 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1681:17: note: some parts of macro expansion are not guarded by this 'if' clause 1681 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) | ^~ In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816.h:164, from src/cpu/g65816/g65816cm.h:16, from src/cpu/g65816/g65816o2.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1687:25: note: in expansion of macro 'JMP' 1687 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1686:17: note: some parts of macro expansion are not guarded by this 'if' clause 1686 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) | ^~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/cpu/ccpu/ccpu.c: In function 'opJEI_A_B': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1700:25: note: in expansion of macro 'JMP' 1700 | JMP(); | ^~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1699:17: note: some parts of macro expansion are not guarded by this 'if' clause 1699 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) | ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1705:25: note: in expansion of macro 'JMP' 1705 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1704:17: note: some parts of macro expansion are not guarded by this 'if' clause 1704 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1721:17: note: in expansion of macro 'JMP' 1721 | JMP(); /* yes -- do jump */ | ^~~ src/cpu/ccpu/ccpu.c:1720:9: note: some parts of macro expansion are not guarded by this 'if' clause 1720 | if (register_A & 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_AA_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1730:17: note: in expansion of macro 'JMP' 1730 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1729:9: note: some parts of macro expansion are not guarded by this 'if' clause 1729 | if (cmp_old & 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_BB_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1738:17: note: in expansion of macro 'JMP' 1738 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1737:9: note: some parts of macro expansion are not guarded by this 'if' clause 1737 | if (register_B & 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1746:17: note: in expansion of macro 'JMP' 1746 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1745:9: note: some parts of macro expansion are not guarded by this 'if' clause 1745 | if (register_A & 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_A_A': Compiling src/cpu/e132xs/e132xs.c... src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1756:17: note: in expansion of macro 'JMP' 1756 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1755:9: note: some parts of macro expansion are not guarded by this 'if' clause 1755 | if (cmp_new < cmp_old) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1764:17: note: in expansion of macro 'JMP' 1764 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1763:9: note: some parts of macro expansion are not guarded by this 'if' clause 1763 | if (cmp_new < cmp_old) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1774:17: note: in expansion of macro 'JMP' 1774 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1773:9: note: some parts of macro expansion are not guarded by this 'if' clause 1773 | if (cmp_new == cmp_old) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1782:17: note: in expansion of macro 'JMP' 1782 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1781:9: note: some parts of macro expansion are not guarded by this 'if' clause 1781 | if (cmp_new == cmp_old) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1790:17: note: in expansion of macro 'JMP' 1790 | JMP(); | ^~~ In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816.h:164, from src/cpu/g65816/g65816cm.h:16, from src/cpu/g65816/g65816o3.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/ccpu/ccpu.c:1789:9: note: some parts of macro expansion are not guarded by this 'if' clause 1789 | if (acc_a0 & 0x01) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_B_BB': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1798:17: note: in expansion of macro 'JMP' 1798 | JMP(); | ^~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1797:9: note: some parts of macro expansion are not guarded by this 'if' clause 1797 | if (acc_a0 & 0x01) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_A_A': src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1806:17: note: in expansion of macro 'JMP' 1806 | JMP(); /* no carry, so jump */ | ^~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1805:9: note: some parts of macro expansion are not guarded by this 'if' clause 1805 | if (!(GETFC() & 0xF0)) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1814:17: note: in expansion of macro 'JMP' 1814 | JMP(); /* no carry, so jump */ | ^~~ src/cpu/ccpu/ccpu.c:1813:9: note: some parts of macro expansion are not guarded by this 'if' clause 1813 | if (!(GETFC() & 0xF0)) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1921:17: note: in expansion of macro 'JMP' 1921 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1920:9: note: some parts of macro expansion are not guarded by this 'if' clause 1920 | if (register_A & 0x800) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_A_B': Compiling src/sound/samples.c... src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1941:17: note: in expansion of macro 'JMP' 1941 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1940:9: note: some parts of macro expansion are not guarded by this 'if' clause 1940 | if (cmp_new < cmp_old) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1949:17: note: in expansion of macro 'JMP' 1949 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1948:9: note: some parts of macro expansion are not guarded by this 'if' clause 1948 | if (cmp_new == cmp_old) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1957:17: note: in expansion of macro 'JMP' 1957 | JMP(); | ^~~ In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816.h:164, from src/cpu/g65816/g65816cm.h:16, from src/cpu/g65816/g65816o4.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/ccpu/ccpu.c:1956:9: note: some parts of macro expansion are not guarded by this 'if' clause 1956 | if (GETA0() & 0x01) | ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1965:17: note: in expansion of macro 'JMP' 1965 | JMP(); /* if no carry, jump */ | ^~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1964:9: note: some parts of macro expansion are not guarded by this 'if' clause 1964 | if (!(GETFC() & 0x0F0)) | ^~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/dac.c... src/cpu/jaguar/jaguar.c: In function 'jaguargpu_execute': src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:579:29: note: in expansion of macro 'ROPCODE' 579 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~ src/cpu/jaguar/jaguar.c: In function 'jaguardsp_execute': src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:625:29: note: in expansion of macro 'ROPCODE' 625 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/g65816/g65816ds.h:24, from src/cpu/g65816/g65816ds.c:19: src/memory.h: In function 'cpu_readop16': src/cpu/jaguar/jaguar.c: In function 'jaguargpu_dasm': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:927:34: note: in expansion of macro 'ROPCODE' 927 | sprintf(buffer, "$%04X", ROPCODE(pc)); | ^~~~~~~ src/cpu/jaguar/jaguar.c: In function 'jaguardsp_dasm': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:938:34: note: in expansion of macro 'ROPCODE' 938 | sprintf(buffer, "$%04X", ROPCODE(pc)); | ^~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/discrete.c... src/cpu/jaguar/jaguar.c: In function 'imultn_rn_rn': src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:1118:21: note: in expansion of macro 'ROPCODE' 1118 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~ src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:1125:29: note: in expansion of macro 'ROPCODE' 1125 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~ src/cpu/jaguar/jaguar.c: In function 'jr_cc_n': src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:1141:29: note: in expansion of macro 'ROPCODE' 1141 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~ src/cpu/jaguar/jaguar.c: In function 'jump_cc_rn': src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:1158:29: note: in expansion of macro 'ROPCODE' 1158 | jaguar.op = ROPCODE(jaguar.PC); | ^~~~~~~ src/cpu/jaguar/jaguar.c: In function 'movei_n_rn': src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:1270:22: note: in expansion of macro 'ROPCODE' 1270 | UINT32 res = ROPCODE(jaguar.PC) | (ROPCODE(jaguar.PC + 2) << 16); | ^~~~~~~ src/cpu/jaguar/jaguar.c:257:35: warning: cast increases required alignment of target type [-Wcast-align] 257 | #define ROPCODE(pc) (*(UINT16 *)&OP_ROM[(UINT32)(pc) ^ 2]) | ^ src/cpu/jaguar/jaguar.c:1270:44: note: in expansion of macro 'ROPCODE' 1270 | UINT32 res = ROPCODE(jaguar.PC) | (ROPCODE(jaguar.PC + 2) << 16); | ^~~~~~~ In file included from src/cpuintrf.h:13, from src/cpu/spc700/spc700.h:133, from src/cpu/spc700/spc700.c:69: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/2203intf.c... In file included from src/cpuintrf.h:13, from src/cpu/spc700/spc700ds.h:24, from src/cpu/spc700/spc700ds.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/2151intf.c... In file included from src/driver.h:64, from src/cpu/e132xs/e132xs.c:166: src/memory.h: In function 'cpu_readop16': Compiling src/sound/ym2151.c... src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c: In function 'handle_cop1': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:796:49: note: in expansion of macro 'FDVALS' 796 | FDVALS = FSVALS + FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:796:58: note: in expansion of macro 'FSVALS' 796 | FDVALS = FSVALS + FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:796:67: note: in expansion of macro 'FTVALS' 796 | FDVALS = FSVALS + FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:49: note: in expansion of macro 'FDVALD' 798 | FDVALD = FSVALD + FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:58: note: in expansion of macro 'FSVALD' 798 | FDVALD = FSVALD + FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:67: note: in expansion of macro 'FTVALD' 798 | FDVALD = FSVALD + FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:803:49: note: in expansion of macro 'FDVALS' 803 | FDVALS = FSVALS - FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:803:58: note: in expansion of macro 'FSVALS' 803 | FDVALS = FSVALS - FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:803:67: note: in expansion of macro 'FTVALS' 803 | FDVALS = FSVALS - FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:49: note: in expansion of macro 'FDVALD' 805 | FDVALD = FSVALD - FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:58: note: in expansion of macro 'FSVALD' 805 | FDVALD = FSVALD - FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:67: note: in expansion of macro 'FTVALD' 805 | FDVALD = FSVALD - FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:810:49: note: in expansion of macro 'FDVALS' 810 | FDVALS = FSVALS * FTVALS; | ^~~~~~ In file included from src/driver.h:64, from src/sound/samples.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:810:58: note: in expansion of macro 'FSVALS' 810 | FDVALS = FSVALS * FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:810:67: note: in expansion of macro 'FTVALS' 810 | FDVALS = FSVALS * FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:49: note: in expansion of macro 'FDVALD' 812 | FDVALD = FSVALD * FTVALD; | ^~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:58: note: in expansion of macro 'FSVALD' 812 | FDVALD = FSVALD * FTVALD; | ^~~~~~ src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:67: note: in expansion of macro 'FTVALD' 812 | FDVALD = FSVALD * FTVALD; | ^~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:817:49: note: in expansion of macro 'FDVALS' 817 | FDVALS = FSVALS / FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:817:58: note: in expansion of macro 'FSVALS' 817 | FDVALS = FSVALS / FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:817:67: note: in expansion of macro 'FTVALS' 817 | FDVALS = FSVALS / FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:49: note: in expansion of macro 'FDVALD' 819 | FDVALD = FSVALD / FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:58: note: in expansion of macro 'FSVALD' 819 | FDVALD = FSVALD / FTVALD; | ^~~~~~ Compiling src/sound/2608intf.c... src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:67: note: in expansion of macro 'FTVALD' 819 | FDVALD = FSVALD / FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:824:49: note: in expansion of macro 'FDVALS' 824 | FDVALS = sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:824:63: note: in expansion of macro 'FSVALS' 824 | FDVALS = sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:49: note: in expansion of macro 'FDVALD' 826 | FDVALD = sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:63: note: in expansion of macro 'FSVALD' 826 | FDVALD = sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:831:49: note: in expansion of macro 'FDVALS' 831 | FDVALS = fabs(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:831:63: note: in expansion of macro 'FSVALS' 831 | FDVALS = fabs(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:833:49: note: in expansion of macro 'FDVALD' 833 | FDVALD = fabs(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:833:63: note: in expansion of macro 'FSVALD' 833 | FDVALD = fabs(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:838:49: note: in expansion of macro 'FDVALS' 838 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:838:58: note: in expansion of macro 'FSVALS' 838 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:840:49: note: in expansion of macro 'FDVALD' 840 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:840:58: note: in expansion of macro 'FSVALD' 840 | FDVALD = FSVALD; | ^~~~~~ src/cpu/pic16c5x/pic16c5x.c: In function 'tris': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:845:49: note: in expansion of macro 'FDVALS' 845 | FDVALS = -FSVALS; | ^~~~~~ src/cpu/pic16c5x/pic16c5x.c:593:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break; | ^~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:845:59: note: in expansion of macro 'FSVALS' 845 | FDVALS = -FSVALS; | ^~~~~~ In file included from src/cpu/pic16c5x/pic16c5x.c:66: src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value)) | ^ src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out' 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V) | ^~~~~~~~~~~~ src/cpu/pic16c5x/pic16c5x.c:593:61: note: in expansion of macro 'P_OUT' 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break; | ^~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:847:49: note: in expansion of macro 'FDVALD' 847 | FDVALD = -FSVALD; | ^~~~~~ src/cpu/pic16c5x/pic16c5x.c:595:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break; | ^~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:847:59: note: in expansion of macro 'FSVALD' 847 | FDVALD = -FSVALD; | ^~~~~~ In file included from src/cpu/pic16c5x/pic16c5x.c:66: src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value)) | ^ src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out' 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V) | ^~~~~~~~~~~~ src/cpu/pic16c5x/pic16c5x.c:595:61: note: in expansion of macro 'P_OUT' 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break; | ^~~~~ src/cpu/pic16c5x/pic16c5x.c:597:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break; | ^~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:853:63: note: in expansion of macro 'FSVALS' 853 | double temp = FSVALS; | ^~~~~~ In file included from src/cpu/pic16c5x/pic16c5x.c:66: src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value)) | ^ src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out' 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V) | ^~~~~~~~~~~~ src/cpu/pic16c5x/pic16c5x.c:597:61: note: in expansion of macro 'P_OUT' 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break; | ^~~~~ In file included from src/driver.h:64, from src/sound/dac.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:862:63: note: in expansion of macro 'FSVALD' 862 | double temp = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:874:63: note: in expansion of macro 'FSVALS' 874 | double temp = FSVALS; | ^~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:883:63: note: in expansion of macro 'FSVALD' 883 | double temp = FSVALD; | ^~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:894:62: note: in expansion of macro 'FSVALS' 894 | dtemp = ceil(FSVALS); | ^~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:896:62: note: in expansion of macro 'FSVALD' 896 | dtemp = ceil(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:902:63: note: in expansion of macro 'FSVALS' 902 | dtemp = floor(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:904:63: note: in expansion of macro 'FSVALD' 904 | dtemp = floor(FSVALD); | ^~~~~~ Compiling src/sound/2610intf.c... src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:911:57: note: in expansion of macro 'FSVALS' 911 | dtemp = FSVALS; | ^~~~~~ src/cpu/dsp32/dsp32.c: In function 'dsp32c_info': src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:920:57: note: in expansion of macro 'FSVALD' 920 | dtemp = FSVALD; | ^~~~~~ src/cpu/dsp32/dsp32.c:654:21: warning: variable 'r' set but not used [-Wunused-but-set-variable] 654 | dsp32_regs *r = context; | ^ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:932:57: note: in expansion of macro 'FSVALS' 932 | dtemp = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:941:57: note: in expansion of macro 'FSVALD' 941 | dtemp = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:952:62: note: in expansion of macro 'FSVALS' 952 | dtemp = ceil(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:954:62: note: in expansion of macro 'FSVALD' 954 | dtemp = ceil(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:960:63: note: in expansion of macro 'FSVALS' 960 | dtemp = floor(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:962:63: note: in expansion of macro 'FSVALD' 962 | dtemp = floor(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:970:57: note: in expansion of macro 'FDVALS' 970 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:970:66: note: in expansion of macro 'FSVALS' 970 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:972:57: note: in expansion of macro 'FDVALD' 972 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:972:66: note: in expansion of macro 'FSVALD' 972 | FDVALD = FSVALD; | ^~~~~~ In file included from src/driver.h:64, from src/sound/discrete.c:1: src/memory.h: In function 'cpu_readop16': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:980:57: note: in expansion of macro 'FDVALS' 980 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:980:66: note: in expansion of macro 'FSVALS' 980 | FDVALS = FSVALS; | ^~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:982:57: note: in expansion of macro 'FDVALD' 982 | FDVALD = FSVALD; | ^~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:982:66: note: in expansion of macro 'FSVALD' 982 | FDVALD = FSVALD; | ^~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:990:57: note: in expansion of macro 'FDVALS' 990 | FDVALS = FSVALS; | ^~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:990:66: note: in expansion of macro 'FSVALS' 990 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:992:57: note: in expansion of macro 'FDVALD' 992 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:992:66: note: in expansion of macro 'FSVALD' 992 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:998:49: note: in expansion of macro 'FDVALS' 998 | FDVALS = 1.0 / FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:998:64: note: in expansion of macro 'FSVALS' 998 | FDVALS = 1.0 / FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1000:49: note: in expansion of macro 'FDVALD' 1000 | FDVALD = 1.0 / FSVALD; | ^~~~~~ Compiling src/sound/2612intf.c... src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1000:64: note: in expansion of macro 'FSVALD' 1000 | FDVALD = 1.0 / FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1005:49: note: in expansion of macro 'FDVALS' 1005 | FDVALS = 1.0 / sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1005:69: note: in expansion of macro 'FSVALS' 1005 | FDVALS = 1.0 / sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:49: note: in expansion of macro 'FDVALD' 1007 | FDVALD = 1.0 / sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:69: note: in expansion of macro 'FSVALD' 1007 | FDVALD = 1.0 / sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1014:57: note: in expansion of macro 'FDVALS' 1014 | FDVALS = (INT32)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1016:57: note: in expansion of macro 'FDVALS' 1016 | FDVALS = (INT64)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1019:49: note: in expansion of macro 'FDVALS' 1019 | FDVALS = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1019:58: note: in expansion of macro 'FSVALD' 1019 | FDVALS = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1026:57: note: in expansion of macro 'FDVALD' 1026 | FDVALD = (INT32)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1028:57: note: in expansion of macro 'FDVALD' 1028 | FDVALD = (INT64)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1031:49: note: in expansion of macro 'FDVALD' 1031 | FDVALD = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1031:58: note: in expansion of macro 'FSVALS' 1031 | FDVALD = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1036:78: note: in expansion of macro 'FSVALS' 1036 | mips3.cpr[1][FDREG] = (INT32)FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1038:78: note: in expansion of macro 'FSVALD' 1038 | mips3.cpr[1][FDREG] = (INT32)FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1043:78: note: in expansion of macro 'FSVALS' 1043 | mips3.cpr[1][FDREG] = (INT64)FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1045:78: note: in expansion of macro 'FSVALD' 1045 | mips3.cpr[1][FDREG] = (INT64)FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1067:73: note: in expansion of macro 'FSVALS' 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1067:83: note: in expansion of macro 'FTVALS' 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1069:73: note: in expansion of macro 'FSVALD' 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1069:83: note: in expansion of macro 'FTVALD' 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1075:73: note: in expansion of macro 'FSVALS' 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1075:83: note: in expansion of macro 'FTVALS' 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1077:73: note: in expansion of macro 'FSVALD' 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1077:83: note: in expansion of macro 'FTVALD' 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1083:73: note: in expansion of macro 'FSVALS' 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1083:82: note: in expansion of macro 'FTVALS' 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1085:73: note: in expansion of macro 'FSVALD' 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1085:82: note: in expansion of macro 'FTVALD' 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1091:73: note: in expansion of macro 'FSVALS' 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1091:82: note: in expansion of macro 'FTVALS' 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1093:73: note: in expansion of macro 'FSVALD' 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1093:82: note: in expansion of macro 'FTVALD' 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1099:73: note: in expansion of macro 'FSVALS' 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1099:83: note: in expansion of macro 'FTVALS' 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ In file included from src/driver.h:64, from src/sound/2203intf.c:2: src/memory.h: In function 'cpu_readop16': src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1101:73: note: in expansion of macro 'FSVALD' 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1101:83: note: in expansion of macro 'FTVALD' 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1107:73: note: in expansion of macro 'FSVALS' 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1107:83: note: in expansion of macro 'FTVALS' 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1109:73: note: in expansion of macro 'FSVALD' 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) | ^ src/cpu/mips/mips3.c:1109:83: note: in expansion of macro 'FTVALD' 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c: In function 'handle_cop1x': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1134:25: note: in expansion of macro 'FDVALS' 1134 | FDVALS = RLONG(RSVAL32 + RTVAL32); | ^~~~~~ In file included from src/driver.h:64, from src/sound/2151intf.c:9: src/memory.h: In function 'cpu_readop16': src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1138:25: note: in expansion of macro 'FDVALD' 1138 | FDVALD = RDOUBLE(RSVAL32 + RTVAL32); | ^~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) | ^ src/cpu/mips/mips3.c:1142:52: note: in expansion of macro 'FSVALS' 1142 | WDOUBLE(RSVAL32 + RTVAL32, FSVALS); | ^~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) | ^ src/cpu/mips/mips3.c:1146:52: note: in expansion of macro 'FSVALD' 1146 | WDOUBLE(RSVAL32 + RTVAL32, FSVALD); | ^~~~~~ src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:25: note: in expansion of macro 'FDVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:34: note: in expansion of macro 'FSVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:43: note: in expansion of macro 'FTVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:52: note: in expansion of macro 'FRVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:25: note: in expansion of macro 'FDVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:34: note: in expansion of macro 'FSVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:43: note: in expansion of macro 'FTVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:52: note: in expansion of macro 'FRVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:25: note: in expansion of macro 'FDVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:34: note: in expansion of macro 'FSVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:43: note: in expansion of macro 'FTVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:52: note: in expansion of macro 'FRVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:25: note: in expansion of macro 'FDVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:34: note: in expansion of macro 'FSVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:43: note: in expansion of macro 'FTVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:52: note: in expansion of macro 'FRVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:25: note: in expansion of macro 'FDVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:36: note: in expansion of macro 'FSVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:45: note: in expansion of macro 'FTVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:54: note: in expansion of macro 'FRVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:25: note: in expansion of macro 'FDVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:36: note: in expansion of macro 'FSVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:45: note: in expansion of macro 'FTVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:54: note: in expansion of macro 'FRVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:25: note: in expansion of macro 'FDVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:36: note: in expansion of macro 'FSVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:45: note: in expansion of macro 'FTVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:54: note: in expansion of macro 'FRVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:25: note: in expansion of macro 'FDVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:36: note: in expansion of macro 'FSVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:45: note: in expansion of macro 'FTVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:54: note: in expansion of macro 'FRVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ In file included from src/driver.h:64, from src/sound/2608intf.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/2610intf.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/ym2151.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/2612intf.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sound/samples.c: In function 'sample_start': src/sound/samples.c:40:33: warning: cast increases required alignment of target type [-Wcast-align] 40 | (short *) Machine->samples->sample[samplenum]->data, | ^ Compiling src/sound/ay8910.c... In file included from src/sound/discrete.c:110: src/sound/disc_wav.c: In function 'dss_adsrenv_step': src/sound/disc_wav.c:888:34: warning: variable 'context' set but not used [-Wunused-but-set-variable] 888 | struct dss_adsr_context *context; | ^~~~~~~ In file included from src/sound/discrete.c:111: src/sound/disc_mth.c: In function 'dst_clamp_step': src/sound/disc_mth.c:467:34: warning: variable 'context' set but not used [-Wunused-but-set-variable] 467 | struct dss_ramp_context *context; | ^~~~~~~ src/cpu/tms32031/tms32031.c: In function 'tms32031_get_reg': src/cpu/tms32031/tms32031.c:498:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 498 | case TMS32031_R0F: temp = dsp_to_double(&tms32031.r[TMR_R0]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:499:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 499 | case TMS32031_R1F: temp = dsp_to_double(&tms32031.r[TMR_R1]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:500:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 500 | case TMS32031_R2F: temp = dsp_to_double(&tms32031.r[TMR_R2]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:501:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 501 | case TMS32031_R3F: temp = dsp_to_double(&tms32031.r[TMR_R3]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:502:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 502 | case TMS32031_R4F: temp = dsp_to_double(&tms32031.r[TMR_R4]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:503:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 503 | case TMS32031_R5F: temp = dsp_to_double(&tms32031.r[TMR_R5]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:504:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 504 | case TMS32031_R6F: temp = dsp_to_double(&tms32031.r[TMR_R6]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:505:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 505 | case TMS32031_R7F: temp = dsp_to_double(&tms32031.r[TMR_R7]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c: In function 'tms32031_set_reg': src/cpu/tms32031/tms32031.c:559:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 559 | case TMS32031_R0F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R0]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:560:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 560 | case TMS32031_R1F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R1]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:561:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 561 | case TMS32031_R2F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R2]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:562:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 562 | case TMS32031_R3F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R3]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:563:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 563 | case TMS32031_R4F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R4]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:564:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 564 | case TMS32031_R5F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R5]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:565:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 565 | case TMS32031_R6F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R6]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:566:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 566 | case TMS32031_R7F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R7]); break; | ^~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/ay8910.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/fm.c... Compiling src/sound/2413intf.c... Compiling src/sound/ym2413.c... Compiling src/sound/ymz280b.c... In file included from src/driver.h:64, from src/sound/2413intf.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/fm.c:110: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/3812intf.c... In file included from src/driver.h:64, from src/sound/ym2413.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/ymz280b.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/fmopl.c... Compiling src/sound/ymdeltat.c... In file included from src/driver.h:64, from src/sound/3812intf.c:19: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/sn76477.c... Compiling src/sound/sn76496.c... In file included from src/driver.h:64, from src/sound/ymdeltat.c:65: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/fmopl.c:74: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/sn76477.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/sn76496.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sound/ym2413.c: In function 'OPLLWriteReg': src/sound/ym2413.c:1666:56: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 1666 | if ((chip->rhythm&0x20)==1) | ^~ src/sound/ym2413.c: In function 'OPLLCreate': src/sound/ym2413.c:1944:17: warning: cast increases required alignment of target type [-Wcast-align] 1944 | chip = (YM2413 *)ptr; | ^ Compiling src/sound/pokey.c... Compiling src/sound/tiasound.c... In file included from src/driver.h:64, from src/sound/pokey.c:50: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sound/fmopl.c: In function 'OPLCreate': src/sound/fmopl.c:1835:16: warning: cast increases required alignment of target type [-Wcast-align] 1835 | OPL = (FM_OPL *)ptr; | ^ src/sound/fmopl.c:1842:31: warning: cast increases required alignment of target type [-Wcast-align] 1842 | OPL->deltat = (YM_DELTAT *)ptr; | ^ In file included from src/driver.h:64, from src/sound/tiasound.c:40: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/tiaintf.c... Compiling src/sound/nes_apu.c... Compiling src/sound/astrocde_snd.c... Compiling src/sound/namco.c... Compiling src/sound/namcona.c... In file included from src/driver.h:64, from src/sound/tiaintf.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/nes_apu.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/namco.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/astrocde_snd.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/tms36xx.c... In file included from src/driver.h:64, from src/sound/namcona.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/tms5110.c... src/sound/tiaintf.c: In function 'tia_sh_start': src/sound/tiaintf.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 12 | if (Machine->sample_rate == 0) | ^~ src/sound/tiaintf.c:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 15 | channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process); | ^~~~~~~ Compiling src/sound/5110intf.c... In file included from src/driver.h:64, from src/sound/tms36xx.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/tms5220.c... Compiling src/sound/5220intf.c... In file included from src/driver.h:64, from src/sound/tms5110.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/vlm5030.c... src/sound/namcona.c: In function 'NAMCONA_sh_start': src/sound/namcona.c:600:17: warning: cast increases required alignment of target type [-Wcast-align] 600 | mpROM = (data16_t *)memory_region(REGION_CPU1); | ^ In file included from src/driver.h:64, from src/sound/5110intf.c:17: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/tms5220.c:15: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/5220intf.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/vlm5030.c:76: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/adpcm.c... src/sound/tms5110.c: In function 'parse_frame': src/sound/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable] 496 | int old_head, old_count; | ^~~~~~~~~ src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable] 496 | int old_head, old_count; | ^~~~~~~~ src/sound/tms36xx.c: In function 'mm6221aa_tune_w': src/sound/tms36xx.c:413:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 413 | if( tune == tms->tune_num ) | ^~ src/sound/tms36xx.c:6:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6 | #define LOG(x) logerror x | ^~~~~~~~ src/sound/tms36xx.c:416:9: note: in expansion of macro 'LOG' 416 | LOG(("%s tune:%X\n", tms->subtype, tune)); | ^~~ Compiling src/sound/msm5205.c... Compiling src/sound/msm5232.c... In file included from src/driver.h:64, from src/sound/adpcm.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/upd7759.c... In file included from src/driver.h:64, from src/sound/msm5205.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/msm5232.c:6: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/hc55516.c... Compiling src/sound/k005289.c... Compiling src/sound/k007232.c... In file included from src/driver.h:64, from src/sound/upd7759.c:109: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/k051649.c... Compiling src/sound/k053260.c... In file included from src/driver.h:64, from src/sound/hc55516.c:1: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/k005289.c:28: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/k007232.c:26: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ Compiling src/sound/k054539.c... src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/k051649.c:25: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/segapcm.c... In file included from src/driver.h:64, from src/sound/k053260.c:7: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/k054539.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/segapcm.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/rf5c68.c... Compiling src/sound/cem3394.c... Compiling src/sound/c140.c... In file included from src/driver.h:64, from src/sound/rf5c68.c:5: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/qsound.c... In file included from src/driver.h:64, from src/sound/cem3394.c:14: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/saa1099.c... src/sound/k054539.c: In function 'K054539_update': src/sound/k054539.c:152:17: warning: cast increases required alignment of target type [-Wcast-align] 152 | rbase = (short *)(K054539_chips.chip[chip].ram); | ^ src/sound/k054539.c:184:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 184 | else | ^~~~ src/sound/k054539.c:187:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 187 | gain = K054539_gain[chip][ch]; | ^~~~ Compiling src/sound/iremga20.c... Compiling src/sound/es5506.c... In file included from src/driver.h:64, from src/sound/c140.c:24: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/qsound.c:35: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/saa1099.c:66: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/bsmt2000.c... Compiling src/sound/ymf262.c... In file included from src/driver.h:64, from src/sound/iremga20.c:21: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/262intf.c... In file included from src/driver.h:64, from src/sound/es5506.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/ymf278b.c... In file included from src/driver.h:64, from src/sound/bsmt2000.c:13: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/gaelco_snd.c... In file included from src/driver.h:64, from src/sound/262intf.c:8: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/ymf262.c:46: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/ymf278b.c:30: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/x1_010.c... Compiling src/sound/multipcm.c... In file included from src/driver.h:64, from src/sound/gaelco_snd.c:36: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/c6280.c... src/sound/es5506.c: In function 'ES5506_sh_start': src/sound/es5506.c:943:63: warning: cast increases required alignment of target type [-Wcast-align] 943 | es5506[i].region_base[0] = intf->region0[i] ? (UINT16 *)memory_region(intf->region0[i]) : NULL; | ^ src/sound/es5506.c:944:63: warning: cast increases required alignment of target type [-Wcast-align] 944 | es5506[i].region_base[1] = intf->region1[i] ? (UINT16 *)memory_region(intf->region1[i]) : NULL; | ^ src/sound/es5506.c:945:63: warning: cast increases required alignment of target type [-Wcast-align] 945 | es5506[i].region_base[2] = intf->region2[i] ? (UINT16 *)memory_region(intf->region2[i]) : NULL; | ^ src/sound/es5506.c:946:63: warning: cast increases required alignment of target type [-Wcast-align] 946 | es5506[i].region_base[3] = intf->region3[i] ? (UINT16 *)memory_region(intf->region3[i]) : NULL; | ^ Compiling src/sound/sp0250.c... Compiling src/sound/scsp.c... Compiling src/sound/psx.c... In file included from src/driver.h:64, from src/sound/x1_010.c:53: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sound/ymf271.c... In file included from src/driver.h:64, from src/sound/multipcm.c:33: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/c6280.c:60: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/sound/ymf262.c: In function 'OPL3WriteReg': src/sound/ymf262.c:2089:74: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2089 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2089:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2089 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2141:78: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2141 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2141:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2141 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/driver.h:64, from src/sound/sp0250.c:18: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/sound/psx.c:11: src/memory.h: In function 'cpu_readop16': In file included from src/driver.h:64, from src/sound/scsp.c:23: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/lib/mame-chd/chd.c... In file included from src/driver.h:64, from src/sound/ymf271.c:16: src/memory.h: In function 'cpu_readop16': src/memory.h:907:43: warning: cast increases required alignment of target type [-Wcast-align] 907 | #define cpu_readop16_unsafe(A) (*(data16_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:916:122: note: in expansion of macro 'cpu_readop16_unsafe' 916 | static INLINE data16_t cpu_readop16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop32': src/memory.h:908:43: warning: cast increases required alignment of target type [-Wcast-align] 908 | #define cpu_readop32_unsafe(A) (*(data32_t *)&OP_ROM[(A) & mem_amask]) | ^ src/memory.h:917:122: note: in expansion of macro 'cpu_readop32_unsafe' 917 | static INLINE data32_t cpu_readop32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg16': src/memory.h:910:43: warning: cast increases required alignment of target type [-Wcast-align] 910 | #define cpu_readop_arg16_unsafe(A) (*(data16_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:919:122: note: in expansion of macro 'cpu_readop_arg16_unsafe' 919 | static INLINE data16_t cpu_readop_arg16(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg16_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h: In function 'cpu_readop_arg32': src/memory.h:911:43: warning: cast increases required alignment of target type [-Wcast-align] 911 | #define cpu_readop_arg32_unsafe(A) (*(data32_t *)&OP_RAM[(A) & mem_amask]) | ^ src/memory.h:920:122: note: in expansion of macro 'cpu_readop_arg32_unsafe' 920 | static INLINE data32_t cpu_readop_arg32(offs_t A) { if (address_is_unsafe(A)) { activecpu_set_op_base(A); } return cpu_readop_arg32_unsafe(A); } | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/lib/mame-chd/mame_sha1.c... Compiling src/libretro-deps/libFLAC/bitreader.c... Compiling src/libretro-deps/libFLAC/cpu.c... Compiling src/libretro-deps/libFLAC/crc.c... src/sound/multipcm.c: In function 'MultiPCM_reg_w': src/sound/multipcm.c:407:50: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 407 | pt_abs = (double)abs(pitch); | ^ Compiling src/libretro-deps/libFLAC/fixed.c... Compiling src/libretro-deps/libFLAC/float.c... src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=] 102 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=] 101 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:100:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' defined but not used [-Wunused-const-variable=] 100 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:99:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE3' defined but not used [-Wunused-const-variable=] 99 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c: In function 'SCSP_Init': src/sound/scsp.c:385:37: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 385 | memset(SCSP,0,sizeof(SCSP)); | ^ src/sound/psx.c: In function 'psxreadlong': src/sound/psx.c:68:19: warning: cast increases required alignment of target type [-Wcast-align] 68 | return *( (data32_t *)&m_p_n_ram[ n_address ] ); | ^ src/sound/psx.c: In function 'psxwritelong': src/sound/psx.c:73:12: warning: cast increases required alignment of target type [-Wcast-align] 73 | *( (data32_t *)&m_p_n_ram[ n_address ] ) = n_data; | ^ src/sound/scsp.c: In function 'SCSP_w16': src/sound/scsp.c:638:19: warning: cast increases required alignment of target type [-Wcast-align] 638 | *((unsigned short *) (SCSP->Slots[slot].udata.datab+(addr))) = val; | ^ src/sound/scsp.c:646:19: warning: cast increases required alignment of target type [-Wcast-align] 646 | *((unsigned short *) (SCSP->udata.datab+((addr&0xff)))) = val; | ^ src/sound/scsp.c: In function 'SCSP_r16': src/sound/scsp.c:666:21: warning: cast increases required alignment of target type [-Wcast-align] 666 | v=*((unsigned short *) (SCSP->Slots[slot].udata.datab+(addr))); | ^ src/sound/scsp.c:674:22: warning: cast increases required alignment of target type [-Wcast-align] 674 | v= *((unsigned short *) (SCSP->udata.datab+((addr&0xff)))); | ^ src/sound/scsp.c: In function 'SCSP_Update0000': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0001': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0002': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0003': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0010': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0011': Compiling src/libretro-deps/libFLAC/format.c... src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0012': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0013': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL' 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0100': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0101': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0102': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0103': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0110': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0111': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0112': Compiling src/libretro-deps/libFLAC/lpc.c... src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0113': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL' 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1000': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1001': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1002': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ Compiling src/libretro-deps/libFLAC/md5.c... src/sound/scsp.c: In function 'SCSP_Update1003': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL' 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1010': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1011': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1012': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1013': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL' 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1100': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1101': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1102': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ Compiling src/libretro-deps/libFLAC/memory.c... src/sound/scsp.c: In function 'SCSP_Update1103': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1110': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1111': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1112': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1113': src/sound/scsp.c:752:41: warning: cast increases required alignment of target type [-Wcast-align] 752 | signed short *p=(signed short *) (slot->base+((slot->cur_addr>>(SHIFT-1))&(~1)));\ | ^ src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ Compiling src/libretro-deps/libFLAC/stream_decoder.c... src/sound/scsp.c: In function 'dma_scsp': src/sound/scsp.c:900:21: warning: cast increases required alignment of target type [-Wcast-align] 900 | scsp_regs = (UINT16 *)SCSP->udata.datab; | ^ src/sound/scsp.c: In function 'SCSP_0_w': src/sound/scsp.c:1018:21: warning: cast increases required alignment of target type [-Wcast-align] 1018 | scsp_regs = (UINT16 *)SCSP->udata.datab; | ^ Compiling src/libretro-deps/libFLAC/window.c... Compiling src/libretro-common/compat/compat_posix_string.c... Compiling src/libretro-common/compat/compat_snprintf.c... src/libretro-deps/libFLAC/md5.c: In function 'format_input_': src/libretro-deps/libFLAC/md5.c:281:39: warning: cast increases required alignment of target type [-Wcast-align] 281 | FLAC__int16 *buf1_ = ((FLAC__int16*)buf_) + 1; | ^ src/libretro-deps/libFLAC/md5.c:287:38: warning: cast increases required alignment of target type [-Wcast-align] 287 | FLAC__int16 *buf1_ = (FLAC__int16*)buf_; | ^ Compiling src/libretro-common/compat/compat_strcasestr.c... Compiling src/libretro-common/compat/compat_strl.c... Compiling src/libretro-common/compat/fopen_utf8.c... Compiling src/libretro-common/encodings/encoding_crc32.c... Compiling src/libretro-common/encodings/encoding_utf.c... Compiling src/libretro-common/file/file_path.c... Compiling src/libretro-common/file/file_path_io.c... Compiling src/libretro-common/streams/file_stream.c... Compiling src/libretro-common/streams/file_stream_transforms.c... Compiling src/libretro-common/streams/interface_stream.c... Compiling src/libretro-common/streams/memory_stream.c... Compiling src/libretro-common/streams/rzip_stream.c... Compiling src/libretro-common/streams/stdin_stream.c... Compiling src/libretro-common/streams/trans_stream.c... Compiling src/libretro-common/streams/trans_stream_pipe.c... Compiling src/libretro-common/streams/trans_stream_zlib.c... Compiling src/libretro-common/string/stdstring.c... Compiling src/libretro-common/utils/md5.c... Compiling src/libretro-common/vfs/vfs_implementation.c... Compiling src/libretro-common/time/rtime.c... Compiling src/lib/zlib/adler32.c... Compiling src/lib/zlib/crc32.c... Compiling src/lib/zlib/deflate.c... Compiling src/lib/zlib/inffast.c... Compiling src/lib/zlib/inflate.c... Compiling src/lib/zlib/inftrees.c... Compiling src/lib/zlib/ioapi.c... Compiling src/lib/zlib/trees.c... Compiling src/lib/zlib/uncompr.c... Compiling src/lib/zlib/unzip.c... Compiling src/lib/zlib/zutil.c... src/lib/zlib/zutil.c:14:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | "need dictionary", /* Z_NEED_DICT 2 */ | ^~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:15:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | "stream end", /* Z_STREAM_END 1 */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:16:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | "", /* Z_OK 0 */ | ^~ src/lib/zlib/zutil.c:17:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17 | "file error", /* Z_ERRNO (-1) */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:18:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18 | "stream error", /* Z_STREAM_ERROR (-2) */ | ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:19:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19 | "data error", /* Z_DATA_ERROR (-3) */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:20:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20 | "insufficient memory", /* Z_MEM_ERROR (-4) */ | ^~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:21:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | "buffer error", /* Z_BUF_ERROR (-5) */ | ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:22:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | "incompatible version",/* Z_VERSION_ERROR (-6) */ | ^~~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:23:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | ""}; | ^~ src/sound/scsp.c:912:24: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] 912 | tmp_dma[2] = scsp_regs[0x416/2]; | ~~~~~~~^~~ src/sound/scsp.c:898:23: note: while referencing 'tmp_dma' 898 | static UINT16 tmp_dma[2], *scsp_regs; | ^~~~~~~ src/sound/scsp.c:939:45: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] 939 | scsp_regs[0x416/2] = tmp_dma[2]; | ~~~~~~~^~~ src/sound/scsp.c:898:23: note: while referencing 'tmp_dma' 898 | static UINT16 tmp_dma[2], *scsp_regs; | ^~~~~~~ In file included from src/cpu/z180/z180.c:769: src/cpu/z180/z180op.c: In function 'take_interrupt': src/cpu/z180/z180op.c:517:46: warning: array subscript 78 is above array bounds of 'UINT8[64]' {aka 'unsigned char[64]'} [-Warray-bounds] 517 | irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2; | ~~~~~~~^~~~~~~~~ src/cpu/z180/z180.c:79:25: note: while referencing 'io' 79 | /* 40 */ UINT8 io[64]; /* 64 internal 8 bit registers */ | ^~ Linking mame2003_libretro.so... platform unix >>> libretro-mame2003: Entering fakeroot... >>> libretro-mame2003*: Running postcheck for libretro-mame2003 >>> libretro-mame2003*: Preparing package libretro-mame2003... >>> libretro-mame2003*: Stripping binaries >>> libretro-mame2003*: Scanning shared objects >>> libretro-mame2003*: Tracing dependencies... so:libc.musl-armhf.so.1 >>> libretro-mame2003*: Package size: 25.0 MB >>> libretro-mame2003*: Compressing data... >>> libretro-mame2003*: Create checksum... >>> libretro-mame2003*: Create libretro-mame2003-0_git20220206-r0.apk >>> libretro-mame2003: Build complete at Thu, 21 Apr 2022 09:31:39 +0000 elapsed time 0h 0m 41s >>> libretro-mame2003: Cleaning up srcdir >>> libretro-mame2003: Cleaning up pkgdir >>> libretro-mame2003: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-mame2003 (20220421.093059) OK: 300 MiB in 98 packages >>> libretro-mame2003: Updating the testing/armhf repository index... >>> libretro-mame2003: Signing the index...